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

Side by Side Diff: src/x64/lithium-codegen-x64.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/x64/full-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.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 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 #include "v8.h" 5 #include "v8.h"
6 6
7 #if V8_TARGET_ARCH_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "x64/lithium-codegen-x64.h" 9 #include "x64/lithium-codegen-x64.h"
10 #include "code-stubs.h" 10 #include "code-stubs.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 __ movp(args.GetReceiverOperand(), rcx); 142 __ movp(args.GetReceiverOperand(), rcx);
143 143
144 __ bind(&ok); 144 __ bind(&ok);
145 } 145 }
146 } 146 }
147 147
148 info()->set_prologue_offset(masm_->pc_offset()); 148 info()->set_prologue_offset(masm_->pc_offset());
149 if (NeedsEagerFrame()) { 149 if (NeedsEagerFrame()) {
150 ASSERT(!frame_is_built_); 150 ASSERT(!frame_is_built_);
151 frame_is_built_ = true; 151 frame_is_built_ = true;
152 __ Prologue(info()->IsStub() ? BUILD_STUB_FRAME : BUILD_FUNCTION_FRAME); 152 __ Prologue(info());
153 info()->AddNoFrameRange(0, masm_->pc_offset()); 153 info()->AddNoFrameRange(0, masm_->pc_offset());
154 } 154 }
155 155
156 // Reserve space for the stack slots needed by the code. 156 // Reserve space for the stack slots needed by the code.
157 int slots = GetStackSlotCount(); 157 int slots = GetStackSlotCount();
158 if (slots > 0) { 158 if (slots > 0) {
159 if (FLAG_debug_code) { 159 if (FLAG_debug_code) {
160 __ subp(rsp, Immediate(slots * kPointerSize)); 160 __ subp(rsp, Immediate(slots * kPointerSize));
161 #ifdef _MSC_VER 161 #ifdef _MSC_VER
162 MakeSureStackPagesMapped(slots * kPointerSize); 162 MakeSureStackPagesMapped(slots * kPointerSize);
(...skipping 5558 matching lines...) Expand 10 before | Expand all | Expand 10 after
5721 __ bind(deferred->exit()); 5721 __ bind(deferred->exit());
5722 __ bind(&done); 5722 __ bind(&done);
5723 } 5723 }
5724 5724
5725 5725
5726 #undef __ 5726 #undef __
5727 5727
5728 } } // namespace v8::internal 5728 } } // namespace v8::internal
5729 5729
5730 #endif // V8_TARGET_ARCH_X64 5730 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/full-codegen-x64.cc ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698