Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: src/crankshaft/ia32/lithium-codegen-ia32.cc

Issue 1577193003: Change the CompilationInfo::IsCodePreAgingActive() predicate to CompilationInfo::GeneratePreagingPr… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698