Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 0d09c703a76c0b607b61e2bee896edee3cf11741..5baf14eb83bab3044d4b0454a4d87c5e48381be7 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -1214,12 +1214,6 @@ void JSEntryStub::Generate(MacroAssembler* masm) { |
// restores all callee-saved registers (including cp and fp) to their |
// saved values before returning a failure to C. |
- // Clear any pending exceptions. |
- __ Mov(x10, Operand(isolate()->factory()->the_hole_value())); |
- __ Mov(x11, Operand(ExternalReference(Isolate::kPendingExceptionAddress, |
- isolate()))); |
- __ Str(x10, MemOperand(x11)); |
- |
// Invoke the function by calling through the 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. |