Index: src/mips/simulator-mips.cc |
diff --git a/src/mips/simulator-mips.cc b/src/mips/simulator-mips.cc |
index c81dcd1d00ad32bcf7a34986b00b22c6b1fdf8cc..f0d55d938f65552e69fa107f79a78c69f00eb4f5 100644 |
--- a/src/mips/simulator-mips.cc |
+++ b/src/mips/simulator-mips.cc |
@@ -2207,6 +2207,8 @@ void Simulator::SoftwareInterrupt(Instruction* instr) { |
*sim_result = result; |
set_register(v0, arg0); |
} else { |
+ DCHECK(redirection->type() == ExternalReference::BUILTIN_CALL || |
+ redirection->type() == ExternalReference::BUILTIN_CALL_PAIR); |
SimulatorRuntimeCall target = |
reinterpret_cast<SimulatorRuntimeCall>(external); |
if (::v8::internal::FLAG_trace_sim) { |