diff options
Diffstat (limited to 'tools/autodebugger.py')
-rw-r--r-- | tools/autodebugger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/autodebugger.py b/tools/autodebugger.py index 3a9260ad..5d152d2c 100644 --- a/tools/autodebugger.py +++ b/tools/autodebugger.py @@ -212,7 +212,7 @@ for i in range(len(lines)): lines[i] += '\n call void @emscripten_autodebug_%s(i32 %d, %s %s)' % (m.group('type'), index, m.group('type'), m.group('var')) lines_added += 1 elif ALLOW_POINTERS and m.group('type').endswith('*') and m.group('type').count('*') == 1: - lines[i] += '\n %%ead.%d = ptrtoint %s %%%s to i32' % (index, m.group('type'), m.group('var')) + lines[i] += '\n %%ead.%d = ptrtoint %s %s to i32' % (index, m.group('type'), m.group('var')) lines[i] += '\n call void @emscripten_autodebug_i32(i32 %d, i32 %%ead.%d)' % (index, index) lines_added += 2 continue |