Index: src/x64/codegen-x64.cc |
diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc |
index 06bc9d7a440747f47a2d2e2197b14dafb2fe09a1..ad186068afe471d9ab3ebbc68defb63d682f564c 100644 |
--- a/src/x64/codegen-x64.cc |
+++ b/src/x64/codegen-x64.cc |
@@ -571,7 +571,8 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { |
ExternalReference entry(Builtins::JSEntryTrampoline); |
__ load_rax(entry); |
} |
- __ call(FieldOperand(rax, Code::kHeaderSize)); |
+ __ lea(kScratchRegister, FieldOperand(rax, Code::kHeaderSize)); |
William Hesse
2009/06/11 13:04:24
Can you use a Call() from MacroAssembler, that inc
Lasse Reichstein
2009/06/11 13:16:05
I would rather not.
The expected meaning of a Call
|
+ __ call(kScratchRegister); |
// Unlink this frame from the handler chain. |
__ movq(kScratchRegister, ExternalReference(Top::k_handler_address)); |