Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 8d103ed13b5e03f4d1e3476e25670eaa688ea9d1..c1d5560745b1abc04d2d4924ebbcedce7209ce13 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3825,12 +3825,6 @@ void FullCodeGenerator::EmitLiteralCompareNil(CompareOperation* expr, |
} |
-void FullCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
- __ mov(eax, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); |
- context()->Plug(eax); |
-} |
- |
- |
Register FullCodeGenerator::result_register() { |
return eax; |
} |
@@ -3840,6 +3834,10 @@ Register FullCodeGenerator::context_register() { |
return esi; |
} |
+void FullCodeGenerator::LoadFromFrameField(int frame_offset, Register value) { |
+ DCHECK_EQ(POINTER_SIZE_ALIGN(frame_offset), frame_offset); |
+ __ mov(value, Operand(ebp, frame_offset)); |
+} |
void FullCodeGenerator::StoreToFrameField(int frame_offset, Register value) { |
DCHECK_EQ(POINTER_SIZE_ALIGN(frame_offset), frame_offset); |