OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/crankshaft/ppc/lithium-codegen-ppc.h" | 5 #include "src/crankshaft/ppc/lithium-codegen-ppc.h" |
6 | 6 |
7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
8 #include "src/code-factory.h" | 8 #include "src/code-factory.h" |
9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/crankshaft/hydrogen-osr.h" | 10 #include "src/crankshaft/hydrogen-osr.h" |
(...skipping 5737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5748 __ bind(&done); | 5748 __ bind(&done); |
5749 } | 5749 } |
5750 | 5750 |
5751 | 5751 |
5752 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { | 5752 void LCodeGen::DoStoreFrameContext(LStoreFrameContext* instr) { |
5753 Register context = ToRegister(instr->context()); | 5753 Register context = ToRegister(instr->context()); |
5754 __ StoreP(context, MemOperand(fp, StandardFrameConstants::kContextOffset)); | 5754 __ StoreP(context, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
5755 } | 5755 } |
5756 | 5756 |
5757 | 5757 |
5758 void LCodeGen::DoAllocateBlockContext(LAllocateBlockContext* instr) { | |
5759 Handle<ScopeInfo> scope_info = instr->scope_info(); | |
5760 __ Push(scope_info); | |
5761 __ push(ToRegister(instr->function())); | |
5762 CallRuntime(Runtime::kPushBlockContext, instr); | |
5763 RecordSafepoint(Safepoint::kNoLazyDeopt); | |
5764 } | |
5765 | |
5766 | |
5767 #undef __ | 5758 #undef __ |
5768 } // namespace internal | 5759 } // namespace internal |
5769 } // namespace v8 | 5760 } // namespace v8 |
OLD | NEW |