Skip to content

Commit 73d9f57

Browse files
committed
fix emterpreter debug print
1 parent dd1892a commit 73d9f57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/emterpretify.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,8 @@ def process(code):
635635
lx = (inst >> 8) & 255;
636636
ly = (inst >> 16) & 255;
637637
lz = inst >>> 24;
638-
//Module.print([pc, inst&255, %s[inst&255], lx, ly, lz, HEAPU8[pc + 4],HEAPU8[pc + 5],HEAPU8[pc + 6],HEAPU8[pc + 7]].join(', '));
639-
''' % (json.dumps(OPCODES))
638+
//Module.print([pc, inst&255, ''' + json.dumps(OPCODES) + '''[inst&255], lx, ly, lz, HEAPU8[pc + 4],HEAPU8[pc + 5],HEAPU8[pc + 6],HEAPU8[pc + 7]]);
639+
'''
640640

641641
if not INNERTERPRETER_LAST_OPCODE:
642642
main_loop = main_loop_prefix + r'''

0 commit comments

Comments
 (0)