diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-18 10:14:25 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-18 10:16:47 -0800 |
commit | 846c77ae557699372c7c372ea50135f1f0cb6458 (patch) | |
tree | 1654be004d4bc598ce360e07b032e4e3fbf5742e /src/jsifier.js | |
parent | 316ac8372e6d3aa27bfbde4b43ef9ddb4a142ae5 (diff) |
refactor phi code for unoptimized case
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 8d9e65c6..604e8b8c 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -454,7 +454,7 @@ function JSify(data, functionsOnly, givenFunctions, givenGlobalVariables) { if (true) { // TODO: optimize away when not needed func.JS += ' var __label__;\n'; } - if (func.hasPhi) { + if (func.needsLastLabel) { func.JS += ' var __lastLabel__ = null;\n'; } |