aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-17 16:02:32 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-18 13:00:49 -0700
commite7176852da4f67f61019a53e4b5b4413fe24394e (patch)
treefbc810a3c55c5cea2d7c18c05a1e29871bf91987 /src
parent02cd4ed954ae13de75c65391d187513577468ee7 (diff)
use HEAPF32 for <4 x float>
Diffstat (limited to 'src')
-rw-r--r--src/parseTools.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 36b75018..6436e8a4 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -1773,6 +1773,7 @@ function makeGetSlabs(ptr, type, allowMultiple, unsigned) {
if (TARGET_LE32) return ['HEAPF64']; // in le32, we do have the ability to assume 64-bit alignment
// otherwise, fall through to float
}
+ case '<4 x float>':
case 'float': return ['HEAPF32'];
default: {
throw 'what, exactly, can we do for unknown types in TA2?! ' + [new Error().stack, ptr, type, allowMultiple, unsigned];