diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-06-09 15:53:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-06-09 15:53:55 -0700 |
commit | e9e7efa370ee972dc34dd86f1e4e114588e63840 (patch) | |
tree | 3590b8d9ec266d1c60d16f1b02993afa219126b9 /src/jsifier.js | |
parent | fa4c3a7de17c36d80977d1ba0b1bb868f7531dc7 (diff) |
sign analyzer for ta==2
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 5 |
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) { |