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

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: Comment cleanup. 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 5283 matching lines...) Expand 10 before | Expand all | Expand 10 after
5468 RecordSafepoint(Safepoint::kNoLazyDeopt); 5468 RecordSafepoint(Safepoint::kNoLazyDeopt);
5469 } 5469 }
5470 5470
5471 5471
5472 #undef __ 5472 #undef __
5473 5473
5474 } // namespace internal 5474 } // namespace internal
5475 } // namespace v8 5475 } // namespace v8
5476 5476
5477 #endif // V8_TARGET_ARCH_IA32 5477 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/crankshaft/arm64/lithium-codegen-arm64.cc ('k') | src/crankshaft/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698