Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 525944a3db2e42a4f4cbd6a15f4a58917dc9e220..07b9c5078876f18a56c5743c37763fdba2503798 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -5660,6 +5660,21 @@ void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex* instr) { |
} |
+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(ToOperand(instr->function())); |
+ CallRuntime(Runtime::kHiddenPushBlockContext, 2, instr); |
Michael Starzinger
2014/06/03 23:12:20
Since this is only a runtime call, do we really ne
rossberg
2014/06/04 12:54:53
Perhaps not in the near future, but we will have t
ulan
2014/06/04 14:02:05
Right, we will do it sooner than later. Leaving it
|
+ RecordSafepoint(Safepoint::kNoLazyDeopt); |
+} |
+ |
+ |
#undef __ |
} } // namespace v8::internal |