aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-08-27 10:43:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-08-27 10:43:09 -0700
commit0875003096f4ac48ffffaec598113adbdecca832 (patch)
treee64b3a572e903fec957fa33e3a7296bdb423710e /src/jsifier.js
parent67e4662ac91d5b514a96957d00b0a8db69bfcf65 (diff)
intertyper tweaks
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index ab381a03..6720e77b 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -585,7 +585,7 @@ function JSify(data, functionsOnly, givenFunctions, givenGlobalVariables) {
makeFuncLineActor('store', function(item) {
var value = finalizeLLVMParameter(item.value);
if (pointingLevels(item.pointerType) == 1) {
- value = parseNumerical(value, removePointing(item.pointerType));
+ value = parseNumerical(value, item.valueType);
}
var impl = VAR_EMULATED;
if (item.pointer.intertype == 'value') {