Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 96404d7611e64391ee9ca94f629e4c8a99e5755b..1d0a4052e4a182bf25a735116a0ef3494bc40356 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -3817,12 +3817,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; |
} |
@@ -3832,6 +3826,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); |