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

Side by Side Diff: src/ia32/lithium-codegen-ia32.cc

Issue 261253005: Clean up debugger flags. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.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 #include "v8.h" 5 #include "v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "ia32/lithium-codegen-ia32.h" 9 #include "ia32/lithium-codegen-ia32.h"
10 #include "ic.h" 10 #include "ic.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 __ j(not_zero, &align_loop, Label::kNear); 181 __ j(not_zero, &align_loop, Label::kNear);
182 __ mov(Operand(ebx, 0), Immediate(kAlignmentZapValue)); 182 __ mov(Operand(ebx, 0), Immediate(kAlignmentZapValue));
183 __ bind(&do_not_pad); 183 __ bind(&do_not_pad);
184 } 184 }
185 } 185 }
186 186
187 info()->set_prologue_offset(masm_->pc_offset()); 187 info()->set_prologue_offset(masm_->pc_offset());
188 if (NeedsEagerFrame()) { 188 if (NeedsEagerFrame()) {
189 ASSERT(!frame_is_built_); 189 ASSERT(!frame_is_built_);
190 frame_is_built_ = true; 190 frame_is_built_ = true;
191 __ Prologue(info()->IsStub() ? BUILD_STUB_FRAME : BUILD_FUNCTION_FRAME); 191 __ Prologue(info());
192 info()->AddNoFrameRange(0, masm_->pc_offset()); 192 info()->AddNoFrameRange(0, masm_->pc_offset());
193 } 193 }
194 194
195 if (info()->IsOptimizing() && 195 if (info()->IsOptimizing() &&
196 dynamic_frame_alignment_ && 196 dynamic_frame_alignment_ &&
197 FLAG_debug_code) { 197 FLAG_debug_code) {
198 __ test(esp, Immediate(kPointerSize)); 198 __ test(esp, Immediate(kPointerSize));
199 __ Assert(zero, kFrameIsExpectedToBeAligned); 199 __ Assert(zero, kFrameIsExpectedToBeAligned);
200 } 200 }
201 201
(...skipping 5482 matching lines...) Expand 10 before | Expand all | Expand 10 after
5684 __ bind(deferred->exit()); 5684 __ bind(deferred->exit());
5685 __ bind(&done); 5685 __ bind(&done);
5686 } 5686 }
5687 5687
5688 5688
5689 #undef __ 5689 #undef __
5690 5690
5691 } } // namespace v8::internal 5691 } } // namespace v8::internal
5692 5692
5693 #endif // V8_TARGET_ARCH_IA32 5693 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/full-codegen-ia32.cc ('k') | src/ia32/macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698