Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index dc47637ef0140dde33cb08153f59ee8be7da6eb1..0fde381f75374a368e655feff2db04eebdb058cb 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1105,12 +1105,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. |
- __ mov(r5, Operand(isolate()->factory()->the_hole_value())); |
- __ mov(ip, Operand(ExternalReference(Isolate::kPendingExceptionAddress, |
- isolate()))); |
- __ str(r5, MemOperand(ip)); |
- |
// 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. |