Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 3b0d77b0d8c4db03c1bdbe0831e2e31ee3e96ec1..175f8b2e7a0693d0a572a8835bf12c09560ea957 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3927,12 +3927,6 @@ void FullCodeGenerator::EmitLiteralCompareNil(CompareOperation* expr, |
} |
-void FullCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
- __ ldr(r0, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
- context()->Plug(r0); |
-} |
- |
- |
Register FullCodeGenerator::result_register() { |
return r0; |
} |
@@ -3942,6 +3936,10 @@ Register FullCodeGenerator::context_register() { |
return cp; |
} |
+void FullCodeGenerator::LoadFromFrameField(int frame_offset, Register value) { |
+ DCHECK_EQ(POINTER_SIZE_ALIGN(frame_offset), frame_offset); |
+ __ ldr(value, MemOperand(fp, frame_offset)); |
+} |
void FullCodeGenerator::StoreToFrameField(int frame_offset, Register value) { |
DCHECK_EQ(POINTER_SIZE_ALIGN(frame_offset), frame_offset); |