diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-11 10:20:59 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-11 14:54:57 -0800 |
commit | 93f440f4d676ed8a042fd5ed678dc0aee01bda5c (patch) | |
tree | b293914481977e71b22456991f206f9f6485ef2e /src/compiler.js | |
parent | a4d78b4c3add1ee2e4d0019a1d6cc6c8121fb7a5 (diff) |
only support i64 mode 1 in ta2
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 1 |
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 |