aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-09-11 16:15:51 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-09-11 16:15:51 -0700
commit4a29c4fa7de4be1d598a37d6907c3e084f362d7c (patch)
treefe13dd020fd029fc25921eefdfbc4f0018702517
parent951720402911ee4810e81dd840a955213f326a8d (diff)
fix autodebugger bug
-rw-r--r--tools/autodebugger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/autodebugger.py b/tools/autodebugger.py
index e4caae32..0b75d055 100644
--- a/tools/autodebugger.py
+++ b/tools/autodebugger.py
@@ -153,7 +153,7 @@ for i in range(len(lines)):
lines[i] += '\n call void @emscripten_autodebug_i32(i32 %d, i32 %%ead.%d)' % (index, index)
lines_added += 2
continue
- m = re.match(' %(?P<var>[\w_.]+) = load (?P<type>i64|i32|i16|i8|float|double+)\* .*.*', lines[i])
+ m = re.match(' %(?P<var>[\w_.]+) = load (?P<type>i64|i32|i16|i8|float|double+)\* [^(].*.*', lines[i])
if m:
index = i+1+lines_added
lines[i] += '\n call void @emscripten_autodebug_%s(i32 %d, %s %%%s)' % (m.group('type'), index, m.group('type'), m.group('var'))