| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index 31851a230051a2b09b099b28745f53a756d3de8d..57f75bb968ed5656091eb4213a10009bcedf4d29 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -1899,7 +1899,7 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) {
|
| __ li(t0, Operand(ExternalReference(Isolate::kPendingExceptionAddress,
|
| isolate)));
|
| __ sw(v0, MemOperand(t0)); // We come back from 'invoke'. result is in v0.
|
| - __ li(v0, Operand(reinterpret_cast<int32_t>(Failure::Exception())));
|
| + __ LoadRoot(v0, Heap::kExceptionRootIndex);
|
| __ b(&exit); // b exposes branch delay slot.
|
| __ nop(); // Branch delay slot nop.
|
|
|
|
|