mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 22:02:51 +01:00
Add state (stack and heap information) to the trace stream only when there is a change in state, this would prevent consecutive repetition of state information in the trace output. Checks it based on change in size of the stack and heap, added `std::pair<int, int> stack_heap_sizes` in `Interpreter` to store size of stack and heap for comparison.