aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 13b8377f..be8c962e 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -638,7 +638,7 @@ function JSify(data, functionsOnly, givenFunctions, givenGlobalVariables) {
case VAR_NATIVIZED: {
return value; // We have the actual value here
}
- case VAR_EMULATED: return makeGetValue(value, null, item.type);
+ case VAR_EMULATED: return makeGetValue(value, null, item.type, 0, item.unsigned);
default: throw "unknown [load] impl: " + impl;
}
});
@@ -670,8 +670,7 @@ function JSify(data, functionsOnly, givenFunctions, givenGlobalVariables) {
makeFuncLineActor('mathop', processMathop);
makeFuncLineActor('bitcast', function(item) {
- var ident = toNiceIdent(item.ident);
- return ident;
+ return item.ident;
});
function makeFunctionCall(ident, params, funcData) {