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_IA32 | 5 #if V8_TARGET_ARCH_IA32 |
6 | 6 |
7 #include "src/crankshaft/ia32/lithium-codegen-ia32.h" | 7 #include "src/crankshaft/ia32/lithium-codegen-ia32.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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 } | 164 } |
165 } | 165 } |
166 | 166 |
167 info()->set_prologue_offset(masm_->pc_offset()); | 167 info()->set_prologue_offset(masm_->pc_offset()); |
168 if (NeedsEagerFrame()) { | 168 if (NeedsEagerFrame()) { |
169 DCHECK(!frame_is_built_); | 169 DCHECK(!frame_is_built_); |
170 frame_is_built_ = true; | 170 frame_is_built_ = true; |
171 if (info()->IsStub()) { | 171 if (info()->IsStub()) { |
172 __ StubPrologue(); | 172 __ StubPrologue(); |
173 } else { | 173 } else { |
174 __ Prologue(info()->IsCodePreAgingActive()); | 174 __ Prologue(info()->GeneratePreagedPrologue()); |
175 } | 175 } |
176 } | 176 } |
177 | 177 |
178 if (info()->IsOptimizing() && | 178 if (info()->IsOptimizing() && |
179 dynamic_frame_alignment_ && | 179 dynamic_frame_alignment_ && |
180 FLAG_debug_code) { | 180 FLAG_debug_code) { |
181 __ test(esp, Immediate(kPointerSize)); | 181 __ test(esp, Immediate(kPointerSize)); |
182 __ Assert(zero, kFrameIsExpectedToBeAligned); | 182 __ Assert(zero, kFrameIsExpectedToBeAligned); |
183 } | 183 } |
184 | 184 |
(...skipping 5314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5499 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5499 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5500 } | 5500 } |
5501 | 5501 |
5502 | 5502 |
5503 #undef __ | 5503 #undef __ |
5504 | 5504 |
5505 } // namespace internal | 5505 } // namespace internal |
5506 } // namespace v8 | 5506 } // namespace v8 |
5507 | 5507 |
5508 #endif // V8_TARGET_ARCH_IA32 | 5508 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |