Skip to content
Snippets Groups Projects
Commit 08df6ec0 authored by pompolic's avatar pompolic
Browse files

Comment out other .add_mem_use() too

parent 581edb82
No related branches found
No related tags found
No related merge requests found
...@@ -280,7 +280,7 @@ class ParserStack: ...@@ -280,7 +280,7 @@ class ParserStack:
if len(ev_list) == 1: if len(ev_list) == 1:
# Compare bytes allocated in arena to last known value, which will be the additional bytes allocated since reentering the stack frame # Compare bytes allocated in arena to last known value, which will be the additional bytes allocated since reentering the stack frame
#alloc_size = self.stack_events[ev_start][1] - current_event[1] #alloc_size = self.stack_events[ev_start][1] - current_event[1]
current_event[2].add_mem_use(int(self.arena), current_frame_alloc) #current_event[2].add_mem_use(int(self.arena), current_frame_alloc)
self.committed = len(self.stack_events)-1 self.committed = len(self.stack_events)-1
# print("commit_at_pop: pop_allocs:", { current_event[2].address: current_frame_alloc }) # DEBUG # print("commit_at_pop: pop_allocs:", { current_event[2].address: current_frame_alloc }) # DEBUG
pop_allocs[current_event[2].address] = pop_allocs.get(current_event[2].address, 0) + current_frame_alloc pop_allocs[current_event[2].address] = pop_allocs.get(current_event[2].address, 0) + current_frame_alloc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment