Index: runtime/vm/simulator_arm.cc |
diff --git a/runtime/vm/simulator_arm.cc b/runtime/vm/simulator_arm.cc |
index 45ae49a6db8c03b7243d9bd78eda056674857ab2..4b3fb8abd7e3576320568bb5c8daeb01a93f0fe5 100644 |
--- a/runtime/vm/simulator_arm.cc |
+++ b/runtime/vm/simulator_arm.cc |
@@ -1578,6 +1578,7 @@ void Simulator::SupervisorCall(Instr* instr) { |
set_register(R1, r1); |
} |
} else if (redirection->call_kind() == kBootstrapNativeCall) { |
+ ASSERT(redirection->argument_count() == 1); |
Florian Schneider
2015/09/11 08:06:52
What about simulator_mips.cc and simulator_arm64.c
rmacnak
2015/09/12 22:29:44
Oops, uploaded another CL.
|
NativeArguments* arguments; |
arguments = reinterpret_cast<NativeArguments*>(get_register(R0)); |
SimulatorBootstrapNativeCall target = |