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

Side by Side Diff: src/crankshaft/x87/lithium-codegen-x87.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/x64/lithium-codegen-x64.cc ('k') | src/flag-definitions.h » ('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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 #endif 94 #endif
95 95
96 96
97 bool LCodeGen::GeneratePrologue() { 97 bool LCodeGen::GeneratePrologue() {
98 DCHECK(is_generating()); 98 DCHECK(is_generating());
99 99
100 if (info()->IsOptimizing()) { 100 if (info()->IsOptimizing()) {
101 ProfileEntryHookStub::MaybeCallEntryHook(masm_); 101 ProfileEntryHookStub::MaybeCallEntryHook(masm_);
102 102
103 #ifdef DEBUG
104 if (strlen(FLAG_stop_at) > 0 &&
105 info_->literal()->name()->IsUtf8EqualTo(CStrVector(FLAG_stop_at))) {
106 __ int3();
107 }
108 #endif
109
110 if (support_aligned_spilled_doubles_ && dynamic_frame_alignment_) { 103 if (support_aligned_spilled_doubles_ && dynamic_frame_alignment_) {
111 // Move state of dynamic frame alignment into edx. 104 // Move state of dynamic frame alignment into edx.
112 __ Move(edx, Immediate(kNoAlignmentPadding)); 105 __ Move(edx, Immediate(kNoAlignmentPadding));
113 106
114 Label do_not_pad, align_loop; 107 Label do_not_pad, align_loop;
115 STATIC_ASSERT(kDoubleSize == 2 * kPointerSize); 108 STATIC_ASSERT(kDoubleSize == 2 * kPointerSize);
116 // Align esp + 4 to a multiple of 2 * kPointerSize. 109 // Align esp + 4 to a multiple of 2 * kPointerSize.
117 __ test(esp, Immediate(kPointerSize)); 110 __ test(esp, Immediate(kPointerSize));
118 __ j(not_zero, &do_not_pad, Label::kNear); 111 __ j(not_zero, &do_not_pad, Label::kNear);
119 __ push(Immediate(0)); 112 __ push(Immediate(0));
(...skipping 5903 matching lines...) Expand 10 before | Expand all | Expand 10 after
6023 RecordSafepoint(Safepoint::kNoLazyDeopt); 6016 RecordSafepoint(Safepoint::kNoLazyDeopt);
6024 } 6017 }
6025 6018
6026 6019
6027 #undef __ 6020 #undef __
6028 6021
6029 } // namespace internal 6022 } // namespace internal
6030 } // namespace v8 6023 } // namespace v8
6031 6024
6032 #endif // V8_TARGET_ARCH_X87 6025 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698