Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 541d1457856fc7a824c670ea16819ea372e7246c..bc8419c33ce348555c84a22bded2683939a1dc35 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -2702,7 +2702,7 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { |
ExternalReference pending_exception(Isolate::kPendingExceptionAddress, |
isolate); |
__ Store(pending_exception, rax); |
- __ Move(rax, Failure::Exception(), Assembler::RelocInfoNone()); |
+ __ LoadRoot(rax, Heap::kExceptionRootIndex); |
__ jmp(&exit); |
// Invoke: Link this frame into the handler chain. There's only one |