From e707737e887f0f758d6c4b7bc465e65ccb7ca19a Mon Sep 17 00:00:00 2001 From: pompolic <pompolic@special-circumstanc.es> Date: Tue, 18 Apr 2023 21:54:57 +0200 Subject: [PATCH] Remove one more extraneous variable --- gdb-port/parser.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdb-port/parser.py b/gdb-port/parser.py index 766210d..34d8e29 100644 --- a/gdb-port/parser.py +++ b/gdb-port/parser.py @@ -95,7 +95,6 @@ class ParserStack: self.bytes_at_enter = [] self.cumulative_byte_differences = [] self.total_byte_differences = [] - self.bytes_since_prev_h_do_parse = [] self.stack_events = [] # Represents the index of a "waterline" on the stack_events for the purpose of counting allocations # This is the index of the last event (stack push or pop) where the relevant allocations have been committed to TopLevelParse's memory stats. @@ -153,7 +152,6 @@ class ParserStack: # But the user doesn't really care, so going this route requires keeping track of allocations that would be committed, # and presenting it a unified manner at the UI layer # Additionally, it would probably make more sense to store it at the ParserStack, storing (frame, bytes) pairs - self.bytes_since_prev_h_do_parse.append(thusfar) # TODO: where should commit_at_push() be called? HDoParseBreakpoint determines whether to stop, which ParserStack doesn't know about. could be a bool parameter to push() if should_commit: self.commit_at_push() -- GitLab