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