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

Side by Side Diff: src/crankshaft/ia32/lithium-codegen-ia32.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
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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 124 }
125 } 125 }
126 126
127 127
128 bool LCodeGen::GeneratePrologue() { 128 bool LCodeGen::GeneratePrologue() {
129 DCHECK(is_generating()); 129 DCHECK(is_generating());
130 130
131 if (info()->IsOptimizing()) { 131 if (info()->IsOptimizing()) {
132 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 132 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
133 133
134 #ifdef DEBUG
135 if (strlen(FLAG_stop_at) > 0 &&
136 info_->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
137 __ int3();
138 }
139 #endif
140
141 if (support_aligned_spilled_doubles_ && dynamic_frame_alignment_) { 134 if (support_aligned_spilled_doubles_ && dynamic_frame_alignment_) {
142 // Move state of dynamic frame alignment into edx. 135 // Move state of dynamic frame alignment into edx.
143 __ Move(edx, Immediate(kNoAlignmentPadding)); 136 __ Move(edx, Immediate(kNoAlignmentPadding));
144 137
145 Label do_not_pad, align_loop; 138 Label do_not_pad, align_loop;
146 STATIC_ASSERT(kDoubleSize == 2 * kPointerSize); 139 STATIC_ASSERT(kDoubleSize == 2 * kPointerSize);
147 // Align esp + 4 to a multiple of 2 * kPointerSize. 140 // Align esp + 4 to a multiple of 2 * kPointerSize.
148 __ test(esp, Immediate(kPointerSize)); 141 __ test(esp, Immediate(kPointerSize));
149 __ j(not_zero, &do_not_pad, Label::kNear); 142 __ j(not_zero, &do_not_pad, Label::kNear);
150 __ push(Immediate(0)); 143 __ push(Immediate(0));
(...skipping 5311 matching lines...) Expand 10 before | Expand all | Expand 10 after
5462 RecordSafepoint(Safepoint::kNoLazyDeopt); 5455 RecordSafepoint(Safepoint::kNoLazyDeopt);
5463 } 5456 }
5464 5457
5465 5458
5466 #undef __ 5459 #undef __
5467 5460
5468 } // namespace internal 5461 } // namespace internal
5469 } // namespace v8 5462 } // namespace v8
5470 5463
5471 #endif // V8_TARGET_ARCH_IA32 5464 #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