aboutsummaryrefslogtreecommitdiff
path: root/tools/autodebugger.py
diff options
context:
space:
mode:
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