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

Side by Side Diff: src/crankshaft/x64/lithium-codegen-x64.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/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/crankshaft/x64/lithium-codegen-x64.h" 7 #include "src/crankshaft/x64/lithium-codegen-x64.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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 #endif 127 #endif
128 } 128 }
129 129
130 info()->set_prologue_offset(masm_->pc_offset()); 130 info()->set_prologue_offset(masm_->pc_offset());
131 if (NeedsEagerFrame()) { 131 if (NeedsEagerFrame()) {
132 DCHECK(!frame_is_built_); 132 DCHECK(!frame_is_built_);
133 frame_is_built_ = true; 133 frame_is_built_ = true;
134 if (info()->IsStub()) { 134 if (info()->IsStub()) {
135 __ StubPrologue(); 135 __ StubPrologue();
136 } else { 136 } else {
137 __ Prologue(info()->IsCodePreAgingActive()); 137 __ Prologue(info()->GeneratePreagedPrologue());
138 } 138 }
139 } 139 }
140 140
141 // Reserve space for the stack slots needed by the code. 141 // Reserve space for the stack slots needed by the code.
142 int slots = GetStackSlotCount(); 142 int slots = GetStackSlotCount();
143 if (slots > 0) { 143 if (slots > 0) {
144 if (FLAG_debug_code) { 144 if (FLAG_debug_code) {
145 __ subp(rsp, Immediate(slots * kPointerSize)); 145 __ subp(rsp, Immediate(slots * kPointerSize));
146 #ifdef _MSC_VER 146 #ifdef _MSC_VER
147 MakeSureStackPagesMapped(slots * kPointerSize); 147 MakeSureStackPagesMapped(slots * kPointerSize);
(...skipping 5513 matching lines...) Expand 10 before | Expand all | Expand 10 after
5661 RecordSafepoint(Safepoint::kNoLazyDeopt); 5661 RecordSafepoint(Safepoint::kNoLazyDeopt);
5662 } 5662 }
5663 5663
5664 5664
5665 #undef __ 5665 #undef __
5666 5666
5667 } // namespace internal 5667 } // namespace internal
5668 } // namespace v8 5668 } // namespace v8
5669 5669
5670 #endif // V8_TARGET_ARCH_X64 5670 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698