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/x87/lithium-codegen-x87.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
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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
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
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
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698