diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-29 16:21:24 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-02 17:31:36 -0700 |
commit | 42dde1ea07e2f8cb2c1dec48f7bee4318b39dc2f (patch) | |
tree | 1caa9748e85f3927ece246ef5932d21dbf4ee72b /src/jsifier.js | |
parent | e7515cbf708b6a402a190de9eb3775f19ee2272e (diff) |
define legalized bitshift vars explicitly
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index f9f1d922..8e329f8c 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -904,6 +904,11 @@ function JSify(data, functionsOnly, givenFunctions) { // Function lines function valueHandler(item) { + if (item.vars) { + item.vars.forEach(function(v) { + addVariable(v[0], v[1]); + }); + } return item.ident; } function noopHandler(item) { |