aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.js')
-rw-r--r--src/compiler.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 3ce53b1e..05a03ffb 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -172,6 +172,7 @@ RUNTIME_DEBUG = LIBRARY_DEBUG || GL_DEBUG;
// Settings sanity checks
assert(!(USE_TYPED_ARRAYS === 2 && QUANTUM_SIZE !== 4), 'For USE_TYPED_ARRAYS == 2, must have normal QUANTUM_SIZE of 4');
+assert(!(ASM_JS && ALLOW_MEMORY_GROWTH), 'Cannot grow asm.js heap');
// Output some info and warnings based on settings