Index: src/x87/lithium-codegen-x87.cc |
=================================================================== |
--- src/x87/lithium-codegen-x87.cc (revision 21700) |
+++ src/x87/lithium-codegen-x87.cc (working copy) |
@@ -5680,6 +5680,21 @@ |
} |
+void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { |
+ Register context = ToRegister(instr->context()); |
+ __ mov(Operand(ebp, StandardFrameConstants::kContextOffset), context); |
+} |
+ |
+ |
+void LCodeGen::DoAllocateBlockContext(LAllocateBlockContext* instr) { |
+ Handle<ScopeInfo> scope_info = instr->scope_info(); |
+ __ Push(scope_info); |
+ __ push(ToRegister(instr->function())); |
+ CallRuntime(Runtime::kHiddenPushBlockContext, 2, instr); |
+ RecordSafepoint(Safepoint::kNoLazyDeopt); |
+} |
+ |
+ |
#undef __ |
} } // namespace v8::internal |