diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-05-28 23:15:36 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-05-28 23:15:36 -0700 |
commit | f1fd3b6f4da91029dd639fb4a837379a336e84ed (patch) | |
tree | 2978b5a3961854eb237f185916923bae2fad75a3 /src/parseTools.js | |
parent | c8e6d4c1c3590f2af814d320a6b9436c7d3a36a9 (diff) |
fixes for closure compiler advanced opts
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index e2ecd074..2d94f73b 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -753,7 +753,7 @@ function makeGetSlabs(ptr, type, allowMultiple) { return ['HEAP']; } else { if (type in Runtime.FLOAT_TYPES || type === 'int64') { - warn(USE_TYPED_ARRAY_FHEAP, 'Attempt to use FHEAP without USE_TYPED_ARRAY_FHEAP'); + assert(USE_TYPED_ARRAY_FHEAP, 'Attempt to use FHEAP without USE_TYPED_ARRAY_FHEAP'); return ['FHEAP']; } else if (type in Runtime.INT_TYPES || isPointerType(type) || !USE_TYPED_ARRAY_FHEAP) { return ['IHEAP']; |