Index: runtime/vm/simulator_dbc.cc |
diff --git a/runtime/vm/simulator_dbc.cc b/runtime/vm/simulator_dbc.cc |
index 98049f4507a43f3ce9a4d59fbf3f414f3d6f490d..1010d1a59fa4934b1c524fe86ee3a5eafde09a84 100644 |
--- a/runtime/vm/simulator_dbc.cc |
+++ b/runtime/vm/simulator_dbc.cc |
@@ -1447,6 +1447,16 @@ RawObject* Simulator::Call(const Code& code, |
} |
{ |
+ BYTECODE(CheckStackAlwaysExit, A); |
+ { |
+ Exit(thread, FP, SP + 1, pc); |
+ NativeArguments args(thread, 0, NULL, NULL); |
+ INVOKE_RUNTIME(DRT_StackOverflow, args); |
+ } |
+ DISPATCH(); |
+ } |
+ |
+ { |
BYTECODE(DebugStep, A); |
if (thread->isolate()->single_step()) { |
Exit(thread, FP, SP + 1, pc); |