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

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

Issue 1676263002: Remove --stop-at flag from several backends. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 count++; 111 count++;
112 } 112 }
113 } 113 }
114 114
115 115
116 bool LCodeGen::GeneratePrologue() { 116 bool LCodeGen::GeneratePrologue() {
117 DCHECK(is_generating()); 117 DCHECK(is_generating());
118 118
119 if (info()->IsOptimizing()) { 119 if (info()->IsOptimizing()) {
120 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 120 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
121
122 #ifdef DEBUG
123 if (strlen(FLAG_stop_at) > 0 &&
124 info_->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
125 __ int3();
126 }
127 #endif
128 } 121 }
129 122
130 info()->set_prologue_offset(masm_->pc_offset()); 123 info()->set_prologue_offset(masm_->pc_offset());
131 if (NeedsEagerFrame()) { 124 if (NeedsEagerFrame()) {
132 DCHECK(!frame_is_built_); 125 DCHECK(!frame_is_built_);
133 frame_is_built_ = true; 126 frame_is_built_ = true;
134 if (info()->IsStub()) { 127 if (info()->IsStub()) {
135 __ StubPrologue(); 128 __ StubPrologue();
136 } else { 129 } else {
137 __ Prologue(info()->GeneratePreagedPrologue()); 130 __ Prologue(info()->GeneratePreagedPrologue());
(...skipping 5515 matching lines...) Expand 10 before | Expand all | Expand 10 after
5653 RecordSafepoint(Safepoint::kNoLazyDeopt); 5646 RecordSafepoint(Safepoint::kNoLazyDeopt);
5654 } 5647 }
5655 5648
5656 5649
5657 #undef __ 5650 #undef __
5658 5651
5659 } // namespace internal 5652 } // namespace internal
5660 } // namespace v8 5653 } // namespace v8
5661 5654
5662 #endif // V8_TARGET_ARCH_X64 5655 #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