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

Side by Side Diff: src/arm/lithium-codegen-arm.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/arm/full-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.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 #include "arm/lithium-codegen-arm.h" 7 #include "arm/lithium-codegen-arm.h"
8 #include "arm/lithium-gap-resolver-arm.h" 8 #include "arm/lithium-gap-resolver-arm.h"
9 #include "code-stubs.h" 9 #include "code-stubs.h"
10 #include "stub-cache.h" 10 #include "stub-cache.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 __ ldr(r2, FieldMemOperand(r2, GlobalObject::kGlobalReceiverOffset)); 133 __ ldr(r2, FieldMemOperand(r2, GlobalObject::kGlobalReceiverOffset));
134 134
135 __ str(r2, MemOperand(sp, receiver_offset)); 135 __ str(r2, MemOperand(sp, receiver_offset));
136 136
137 __ bind(&ok); 137 __ bind(&ok);
138 } 138 }
139 } 139 }
140 140
141 info()->set_prologue_offset(masm_->pc_offset()); 141 info()->set_prologue_offset(masm_->pc_offset());
142 if (NeedsEagerFrame()) { 142 if (NeedsEagerFrame()) {
143 __ Prologue(info()->IsStub() ? BUILD_STUB_FRAME : BUILD_FUNCTION_FRAME); 143 __ Prologue(info());
144 frame_is_built_ = true; 144 frame_is_built_ = true;
145 info_->AddNoFrameRange(0, masm_->pc_offset()); 145 info_->AddNoFrameRange(0, masm_->pc_offset());
146 } 146 }
147 147
148 // Reserve space for the stack slots needed by the code. 148 // Reserve space for the stack slots needed by the code.
149 int slots = GetStackSlotCount(); 149 int slots = GetStackSlotCount();
150 if (slots > 0) { 150 if (slots > 0) {
151 if (FLAG_debug_code) { 151 if (FLAG_debug_code) {
152 __ sub(sp, sp, Operand(slots * kPointerSize)); 152 __ sub(sp, sp, Operand(slots * kPointerSize));
153 __ push(r0); 153 __ push(r0);
(...skipping 5699 matching lines...) Expand 10 before | Expand all | Expand 10 after
5853 __ ldr(result, FieldMemOperand(scratch, 5853 __ ldr(result, FieldMemOperand(scratch,
5854 FixedArray::kHeaderSize - kPointerSize)); 5854 FixedArray::kHeaderSize - kPointerSize));
5855 __ bind(deferred->exit()); 5855 __ bind(deferred->exit());
5856 __ bind(&done); 5856 __ bind(&done);
5857 } 5857 }
5858 5858
5859 5859
5860 #undef __ 5860 #undef __
5861 5861
5862 } } // namespace v8::internal 5862 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698