OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 #if V8_TARGET_ARCH_X87 | 5 #if V8_TARGET_ARCH_X87 |
6 | 6 |
7 #include "src/crankshaft/x87/lithium-codegen-x87.h" | 7 #include "src/crankshaft/x87/lithium-codegen-x87.h" |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 } | 133 } |
134 } | 134 } |
135 | 135 |
136 info()->set_prologue_offset(masm_->pc_offset()); | 136 info()->set_prologue_offset(masm_->pc_offset()); |
137 if (NeedsEagerFrame()) { | 137 if (NeedsEagerFrame()) { |
138 DCHECK(!frame_is_built_); | 138 DCHECK(!frame_is_built_); |
139 frame_is_built_ = true; | 139 frame_is_built_ = true; |
140 if (info()->IsStub()) { | 140 if (info()->IsStub()) { |
141 __ StubPrologue(); | 141 __ StubPrologue(); |
142 } else { | 142 } else { |
143 __ Prologue(info()->IsCodePreAgingActive()); | 143 __ Prologue(info()->GeneratePreagedPrologue()); |
144 } | 144 } |
145 } | 145 } |
146 | 146 |
147 if (info()->IsOptimizing() && | 147 if (info()->IsOptimizing() && |
148 dynamic_frame_alignment_ && | 148 dynamic_frame_alignment_ && |
149 FLAG_debug_code) { | 149 FLAG_debug_code) { |
150 __ test(esp, Immediate(kPointerSize)); | 150 __ test(esp, Immediate(kPointerSize)); |
151 __ Assert(zero, kFrameIsExpectedToBeAligned); | 151 __ Assert(zero, kFrameIsExpectedToBeAligned); |
152 } | 152 } |
153 | 153 |
(...skipping 5875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6029 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6029 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6030 } | 6030 } |
6031 | 6031 |
6032 | 6032 |
6033 #undef __ | 6033 #undef __ |
6034 | 6034 |
6035 } // namespace internal | 6035 } // namespace internal |
6036 } // namespace v8 | 6036 } // namespace v8 |
6037 | 6037 |
6038 #endif // V8_TARGET_ARCH_X87 | 6038 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |