Index: src/x64/lithium-codegen-x64.cc |
=================================================================== |
--- src/x64/lithium-codegen-x64.cc (revision 9687) |
+++ src/x64/lithium-codegen-x64.cc (working copy) |
@@ -2572,7 +2572,7 @@ |
void LCodeGen::DoThisFunction(LThisFunction* instr) { |
Register result = ToRegister(instr->result()); |
- __ movq(result, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset)); |
+ LoadHeapObject(result, instr->hydrogen()->closure()); |
} |