Commit 9df815bd authored by Stefan Behnel's avatar Stefan Behnel

show temp variable type in temp debug mode

parent 959def97
...@@ -644,7 +644,7 @@ class FunctionState(object): ...@@ -644,7 +644,7 @@ class FunctionState(object):
self.temps_allocated.append((result, type, manage_ref, static)) self.temps_allocated.append((result, type, manage_ref, static))
self.temps_used_type[result] = (type, manage_ref) self.temps_used_type[result] = (type, manage_ref)
if DebugFlags.debug_temp_code_comments: if DebugFlags.debug_temp_code_comments:
self.owner.putln("/* %s allocated */" % result) self.owner.putln("/* %s allocated (%s) */" % (result, type))
if self.collect_temps_stack: if self.collect_temps_stack:
self.collect_temps_stack[-1].add((result, type)) self.collect_temps_stack[-1].add((result, type))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment