Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index 1752af69aee706cfd8d42f62446b42680b612b97..89883698f1fff8f5628084cab0b1682f091d8c01 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -1217,12 +1217,6 @@ void JSEntryStub::Generate(MacroAssembler* masm) { |
// restores all kCalleeSaved registers (including cp and fp) to their |
// saved values before returning a failure to C. |
- // Clear any pending exceptions. |
- __ LoadRoot(a5, Heap::kTheHoleValueRootIndex); |
- __ li(a4, Operand(ExternalReference(Isolate::kPendingExceptionAddress, |
- isolate))); |
- __ sd(a5, MemOperand(a4)); |
- |
// Invoke the function by calling through JS entry trampoline builtin. |
// Notice that we cannot store a reference to the trampoline code directly in |
// this stub, because runtime stubs are not traversed when doing GC. |