Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 9db39547e5b906f2b6c612117f08debe073187d5..68bf6aa815dee288d907d892dda1308209d53321 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -3938,12 +3938,6 @@ void FullCodeGenerator::EmitLiteralCompareNil(CompareOperation* expr, |
} |
-void FullCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
- __ lw(v0, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
- context()->Plug(v0); |
-} |
- |
- |
Register FullCodeGenerator::result_register() { |
return v0; |
} |
@@ -3953,6 +3947,10 @@ Register FullCodeGenerator::context_register() { |
return cp; |
} |
+void FullCodeGenerator::LoadFromFrameField(int frame_offset, Register value) { |
+ DCHECK_EQ(POINTER_SIZE_ALIGN(frame_offset), frame_offset); |
+ __ lw(value, MemOperand(fp, frame_offset)); |
+} |
void FullCodeGenerator::StoreToFrameField(int frame_offset, Register value) { |
DCHECK_EQ(POINTER_SIZE_ALIGN(frame_offset), frame_offset); |