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

Side by Side Diff: src/arm64/debug-arm64.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/arm64/code-stubs-arm64.cc ('k') | src/arm64/macro-assembler-arm64.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 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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // Load padding words on stack. 86 // Load padding words on stack.
87 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingValue)); 87 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingValue));
88 __ PushMultipleTimes(scratch, LiveEdit::kFramePaddingInitialSize); 88 __ PushMultipleTimes(scratch, LiveEdit::kFramePaddingInitialSize);
89 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingInitialSize)); 89 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingInitialSize));
90 __ Push(scratch); 90 __ Push(scratch);
91 91
92 if (mode == SAVE_RESULT_REGISTER) __ Push(x0); 92 if (mode == SAVE_RESULT_REGISTER) __ Push(x0);
93 93
94 __ Mov(x0, 0); // No arguments. 94 __ Mov(x0, 0); // No arguments.
95 __ Mov(x1, ExternalReference::debug_break(masm->isolate())); 95 __ Mov(x1, ExternalReference(Runtime::FunctionForId(Runtime::kDebugBreak),
96 masm->isolate()));
96 97
97 CEntryStub stub(masm->isolate(), 1); 98 CEntryStub stub(masm->isolate(), 1);
98 __ CallStub(&stub); 99 __ CallStub(&stub);
99 100
100 if (FLAG_debug_code) { 101 if (FLAG_debug_code) {
101 for (int i = 0; i < kNumJSCallerSaved; i++) { 102 for (int i = 0; i < kNumJSCallerSaved; i++) {
102 Register reg = Register::XRegFromCode(JSCallerSavedCode(i)); 103 Register reg = Register::XRegFromCode(JSCallerSavedCode(i));
103 __ Mov(reg, Operand(kDebugZapValue)); 104 __ Mov(reg, Operand(kDebugZapValue));
104 } 105 }
105 } 106 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 __ Br(scratch); 158 __ Br(scratch);
158 } 159 }
159 160
160 161
161 const bool LiveEdit::kFrameDropperSupported = true; 162 const bool LiveEdit::kFrameDropperSupported = true;
162 163
163 } // namespace internal 164 } // namespace internal
164 } // namespace v8 165 } // namespace v8
165 166
166 #endif // V8_TARGET_ARCH_ARM64 167 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698