aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-28 16:36:24 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-28 16:36:24 -0800
commit1512543df394a8c00e7cf5cfee89cf42c0c22543 (patch)
tree938869a49cbd3272162545bdbd742660052ac733
parentd8560636869ccc14703b781da33764131dd21fa6 (diff)
partial fix for breakinthemiddle in test_cases
-rw-r--r--src/intertyper.js2
-rw-r--r--tests/runner.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index 45e36b15..61a244f3 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -314,6 +314,8 @@ function intertyper(data, parseFunctions, baseLineNum) {
return 'Call';
if (token0Text == 'target')
return '/dev/null';
+ if (token0Text == ';')
+ return '/dev/null';
if (tokensLength >= 3 && token0Text == 'invoke')
return 'Invoke';
} else {
diff --git a/tests/runner.py b/tests/runner.py
index 31145a9f..3fe70ea9 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3713,6 +3713,7 @@ if 'benchmark' not in str(sys.argv):
for name in glob.glob(path_from_root('tests', 'cases', '*.ll')):
shortname = name.replace('.ll', '')
+ #if 'break' not in shortname: continue
print "Testing case '%s'..." % shortname
output_file = path_from_root('tests', 'cases', shortname + '.txt')
if Settings.QUANTUM_SIZE == 1: