Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index e2a4931e62d2e18374373cc89cc06f957153781a..ffc5a7269e73a2aa60a6baba518a7b651e42b783 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -5874,6 +5874,21 @@ void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex* instr) { |
} |
+void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { |
+ Register context = ToRegister(instr->context()); |
+ __ sw(context, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
+} |
+ |
+ |
+void LCodeGen::DoAllocateBlockContext(LAllocateBlockContext* instr) { |
+ Handle<ScopeInfo> scope_info = instr->scope_info(); |
+ __ li(at, scope_info); |
+ __ Push(at, ToRegister(instr->function())); |
+ CallRuntime(Runtime::kHiddenPushBlockContext, 2, instr); |
+ RecordSafepoint(Safepoint::kNoLazyDeopt); |
+} |
+ |
+ |
#undef __ |
} } // namespace v8::internal |