diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-18 18:05:35 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-18 18:05:35 -0800 |
commit | 7ef5d0650a2f3d9ff012fc36922107ea85e493e6 (patch) | |
tree | 47b5c51746166b1050a96c9ab21045be3d086b10 | |
parent | 133b7ebbdd39cfa04231d39e84ee178db9dd527b (diff) |
improve typed arrays error
-rw-r--r-- | src/preamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index 4f715167..1c9de066 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -918,7 +918,7 @@ if (totalMemory !== TOTAL_MEMORY) { #if USE_TYPED_ARRAYS // check for full engine support (use string 'subarray' to avoid closure compiler confusion) assert(typeof Int32Array !== 'undefined' && typeof Float64Array !== 'undefined' && !!(new Int32Array(1)['subarray']) && !!(new Int32Array(1)['set']), - 'Cannot fallback to non-typed array case: Code is too specialized'); + 'JS engine does not provide full typed array support'); #if USE_TYPED_ARRAYS == 1 HEAP = IHEAP = new Int32Array(TOTAL_MEMORY); |