aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/analyzer.js4
-rw-r--r--tests/runner.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index b44165b1..dd14b09a 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -320,6 +320,8 @@ function analyzer(data) {
}
if (['branch', 'invoke'].indexOf(line.intertype) != -1) {
process(line);
+ } else if (line.intertype == 'assign' && line.value.intertype == 'invoke') {
+ process(line.value);
} else if (line.intertype == 'switch') {
process(line);
line.switchLabels.forEach(process);
@@ -361,6 +363,8 @@ function analyzer(data) {
}
if (['branch', 'invoke'].indexOf(line.intertype) != -1) {
process(line);
+ } else if (line.intertype == 'assign' && line.value.intertype == 'invoke') {
+ process(line.value);
} else if (line.intertype == 'switch') {
process(line);
line.switchLabels.forEach(process);
diff --git a/tests/runner.py b/tests/runner.py
index dc3dfba0..915e795d 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -826,8 +826,6 @@ class T(unittest.TestCase):
# used, see Mozilla bug 593659.
assert PARSER_ENGINE != SPIDERMONKEY_ENGINE
- assert not RELOOP
-
self.do_test(path_from_root(['tests', 'sauer']), '*\nTemp is 33\n9\n5\nhello, everyone\n*', main_file='command.cpp')
# Generate tests for all our compilers