Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c7bc970

Browse files
alexmarkovcommit-bot@chromium.org
authored andcommitted
[vm/simdbc] Clean up slot for result in InlineCacheMiss
This is the fix dart-lang/sdk@22b4ec0 ported from kernel bytecode interpreter to DBC simulator. Change-Id: I36df3485219d8ba19eea86d1aa94ea24fe4f69d2 Reviewed-on: https://dart-review.googlesource.com/c/80503 Auto-Submit: Alexander Markov <[email protected]> Reviewed-by: Régis Crelier <[email protected]> Commit-Queue: Régis Crelier <[email protected]>
1 parent d5e5842 commit c7bc970

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/vm/simulator_dbc.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ void Simulator::InlineCacheMiss(int checked_args,
812812
RawObject** FP,
813813
RawObject** SP) {
814814
RawObject** result = top;
815+
top[0] = 0; // Clean up result slot.
815816
RawObject** miss_handler_args = top + 1;
816817
for (intptr_t i = 0; i < checked_args; i++) {
817818
miss_handler_args[i] = args[i];

0 commit comments

Comments
 (0)