Index: src/full-codegen/s390/full-codegen-s390.cc |
diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc |
index 754bb7afe1d7cdcc2bafecdd77be52b312f8b278..6aaee3e9142bc811d94549e7b165080ce867a4e3 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -3815,16 +3815,15 @@ void FullCodeGenerator::EmitLiteralCompareNil(CompareOperation* expr, |
} |
context()->Plug(if_true, if_false); |
} |
- |
-void FullCodeGenerator::VisitThisFunction(ThisFunction* expr) { |
- __ LoadP(r2, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
- context()->Plug(r2); |
-} |
- |
Register FullCodeGenerator::result_register() { return r2; } |
Register FullCodeGenerator::context_register() { return cp; } |
+void FullCodeGenerator::LoadFromFrameField(int frame_offset, Register value) { |
+ DCHECK_EQ(static_cast<int>(POINTER_SIZE_ALIGN(frame_offset)), frame_offset); |
+ __ LoadP(value, MemOperand(fp, frame_offset)); |
+} |
+ |
void FullCodeGenerator::StoreToFrameField(int frame_offset, Register value) { |
DCHECK_EQ(static_cast<int>(POINTER_SIZE_ALIGN(frame_offset)), frame_offset); |
__ StoreP(value, MemOperand(fp, frame_offset)); |