aboutsummaryrefslogtreecommitdiff
path: root/src/compiler.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-11 10:20:59 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-11 14:54:57 -0800
commit93f440f4d676ed8a042fd5ed678dc0aee01bda5c (patch)
treeb293914481977e71b22456991f206f9f6485ef2e /src/compiler.js
parenta4d78b4c3add1ee2e4d0019a1d6cc6c8121fb7a5 (diff)
only support i64 mode 1 in ta2
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 bf9d9c54..d37bc68b 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -138,6 +138,7 @@ EXPORTED_GLOBALS = set(EXPORTED_GLOBALS);
// Settings sanity checks
assert(!(USE_TYPED_ARRAYS === 2 && QUANTUM_SIZE !== 4), 'For USE_TYPED_ARRAYS == 2, must have normal QUANTUM_SIZE of 4');
+assert(!(USE_TYPED_ARRAYS !== 2 && I64_MODE === 1), 'i64 mode 1 is only supported with typed arrays mode 2');
// Output some info and warnings based on settings