aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-05 16:52:26 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-05 16:52:26 -0800
commitb17f3fe267c4cfe86e4c62215c67295471e60abb (patch)
tree90c8506a4c68b3d433d5d5a9360d7a4f1dee013f /src/analyzer.js
parent4aaed2c802ac0e4990375d59e91860a4f9ddc141 (diff)
handle invoke to setjmp
Diffstat (limited to 'src/analyzer.js')
-rw-r--r--src/analyzer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index ecb5ea6b..dbbb267d 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -1380,7 +1380,7 @@ function analyzer(data, sidePass) {
var label = func.labels[i];
for (var j = 0; j < label.lines.length; j++) {
var line = label.lines[j];
- if (line.intertype == 'call' && line.ident == setjmp) {
+ if ((line.intertype == 'call' || line.intertype == 'invoke') && line.ident == setjmp) {
// Add a new label
var oldIdent = label.ident;
var newIdent = func.labelIdCounter++;