diff options
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'; } |