Index: src/s390/code-stubs-s390.cc |
diff --git a/src/s390/code-stubs-s390.cc b/src/s390/code-stubs-s390.cc |
index 4dd6c818e59447d6ae4586b5d2f491c3f0c3b53a..25f7ecd76f5051a49b004d1f092bd07d14ef6e46 100644 |
--- a/src/s390/code-stubs-s390.cc |
+++ b/src/s390/code-stubs-s390.cc |
@@ -1150,12 +1150,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(ip, Operand(ExternalReference(Isolate::kPendingExceptionAddress, |
- isolate()))); |
- __ mov(r7, Operand(isolate()->factory()->the_hole_value())); |
- __ StoreP(r7, 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. |