aboutsummaryrefslogtreecommitdiff
path: root/tools/autodebugger.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-06-09 21:11:21 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-06-09 21:11:21 -0700
commitc9006752a0e80aa12d395c0dd6d53a9f5ec45aca (patch)
tree2168c76d0f86f5d1492a4afd6fb62724c8aa1096 /tools/autodebugger.py
parent6a4ed46be4758c34bf74eb1ec903cd912d55fe0e (diff)
autodebugger improvements for floats
Diffstat (limited to 'tools/autodebugger.py')
-rw-r--r--tools/autodebugger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/autodebugger.py b/tools/autodebugger.py
index a744adb2..9b51ebc9 100644
--- a/tools/autodebugger.py
+++ b/tools/autodebugger.py
@@ -141,7 +141,7 @@ for i in range(len(lines)):
#if i == 5:
# lines[i] += '\n
- m = re.match(' store (?P<type>i64|i32|i16|i8) %(?P<var>[\w.]+), .*', lines[i])
+ m = re.match(' store (?P<type>i64|i32|i16|i8|float|double) %(?P<var>[\w.]+), .*', lines[i])
if m and m.group('type') in ['i8', 'i16', 'i32', 'i64', 'float', 'double']:
lines[i] += '\n call void @emscripten_autodebug_%s(i32 %d, %s %%%s)' % (m.group('type'), i+1+lines_added, m.group('type'), m.group('var'))
lines_added += 1