Index: runtime/vm/simulator_mips.cc |
diff --git a/runtime/vm/simulator_mips.cc b/runtime/vm/simulator_mips.cc |
index 244b331d0edf10032809da4faec0a0cce1c74029..d23c755067c237311a6c2adb141075f6b6c5cc4e 100644 |
--- a/runtime/vm/simulator_mips.cc |
+++ b/runtime/vm/simulator_mips.cc |
@@ -43,7 +43,6 @@ DEFINE_FLAG(uint64_t, stop_sim_at, ULLONG_MAX, |
// The runtime then does a Longjmp on that buffer to return to the simulator. |
class SimulatorSetjmpBuffer { |
public: |
- int Setjmp() { return setjmp(buffer_); } |
void Longjmp() { |
// "This" is now the last setjmp buffer. |
simulator_->set_last_setjmp_buffer(this); |
@@ -1257,7 +1256,7 @@ void Simulator::DoBreak(Instr *instr) { |
ASSERT(sizeof(NativeArguments) == 4*kWordSize); |
arguments.thread_ = reinterpret_cast<Thread*>(get_register(A0)); |
arguments.argc_tag_ = get_register(A1); |
- arguments.argv_ = reinterpret_cast<RawObject*(*)[]>(get_register(A2)); |
+ arguments.argv_ = reinterpret_cast<RawObject**>(get_register(A2)); |
arguments.retval_ = reinterpret_cast<RawObject**>(get_register(A3)); |
SimulatorRuntimeCall target = |
reinterpret_cast<SimulatorRuntimeCall>(external); |