diff options
Diffstat (limited to 'deps/v8/src/execution/ppc/simulator-ppc.cc')
-rw-r--r-- | deps/v8/src/execution/ppc/simulator-ppc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/execution/ppc/simulator-ppc.cc b/deps/v8/src/execution/ppc/simulator-ppc.cc index 2a9aa6486be..a0da6dd6342 100644 --- a/deps/v8/src/execution/ppc/simulator-ppc.cc +++ b/deps/v8/src/execution/ppc/simulator-ppc.cc @@ -481,7 +481,7 @@ void PPCDebugger::Debug() { PrintF("FPSCR: %08x\n", sim_->fp_condition_reg_); } else if (strcmp(cmd, "stop") == 0) { intptr_t value; - intptr_t stop_pc = sim_->get_pc() - (kInstrSize + kPointerSize); + intptr_t stop_pc = sim_->get_pc() - (kInstrSize + kSystemPointerSize); Instruction* stop_instr = reinterpret_cast<Instruction*>(stop_pc); Instruction* msg_address = reinterpret_cast<Instruction*>(stop_pc + kInstrSize); @@ -1230,7 +1230,7 @@ void Simulator::SoftwareInterrupt(Instruction* instr) { } DebugAtNextPC(); } else { - set_pc(get_pc() + kInstrSize + kPointerSize); + set_pc(get_pc() + kInstrSize + kSystemPointerSize); } } else { // This is not a valid svc code. |