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

Side by Side Diff: src/arm/debug-arm.cc

Issue 1248303002: Unify runtime-style IC functions with Runtime intrinsics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make mips work Created 5 years, 5 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/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 __ mov(ip, Operand(Smi::FromInt(LiveEdit::kFramePaddingValue))); 75 __ mov(ip, Operand(Smi::FromInt(LiveEdit::kFramePaddingValue)));
76 for (int i = 0; i < LiveEdit::kFramePaddingInitialSize; i++) { 76 for (int i = 0; i < LiveEdit::kFramePaddingInitialSize; i++) {
77 __ push(ip); 77 __ push(ip);
78 } 78 }
79 __ mov(ip, Operand(Smi::FromInt(LiveEdit::kFramePaddingInitialSize))); 79 __ mov(ip, Operand(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
80 __ push(ip); 80 __ push(ip);
81 81
82 if (mode == SAVE_RESULT_REGISTER) __ push(r0); 82 if (mode == SAVE_RESULT_REGISTER) __ push(r0);
83 83
84 __ mov(r0, Operand::Zero()); // no arguments 84 __ mov(r0, Operand::Zero()); // no arguments
85 __ mov(r1, Operand(ExternalReference::debug_break(masm->isolate()))); 85 __ mov(r1,
86 Operand(ExternalReference(
87 Runtime::FunctionForId(Runtime::kDebugBreak), masm->isolate())));
86 88
87 CEntryStub ceb(masm->isolate(), 1); 89 CEntryStub ceb(masm->isolate(), 1);
88 __ CallStub(&ceb); 90 __ CallStub(&ceb);
89 91
90 if (FLAG_debug_code) { 92 if (FLAG_debug_code) {
91 for (int i = 0; i < kNumJSCallerSaved; i++) { 93 for (int i = 0; i < kNumJSCallerSaved; i++) {
92 Register reg = {JSCallerSavedCode(i)}; 94 Register reg = {JSCallerSavedCode(i)};
93 __ mov(reg, Operand(kDebugZapValue)); 95 __ mov(reg, Operand(kDebugZapValue));
94 } 96 }
95 } 97 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 152
151 153
152 const bool LiveEdit::kFrameDropperSupported = true; 154 const bool LiveEdit::kFrameDropperSupported = true;
153 155
154 #undef __ 156 #undef __
155 157
156 } // namespace internal 158 } // namespace internal
157 } // namespace v8 159 } // namespace v8
158 160
159 #endif // V8_TARGET_ARCH_ARM 161 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698