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

Side by Side Diff: src/mips64/debug-mips64.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/mips64/code-stubs-mips64.cc ('k') | src/mips64/macro-assembler-mips64.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 5
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 Operand(kPointerSize * LiveEdit::kFramePaddingInitialSize)); 75 Operand(kPointerSize * LiveEdit::kFramePaddingInitialSize));
76 for (int i = LiveEdit::kFramePaddingInitialSize - 1; i >= 0; i--) { 76 for (int i = LiveEdit::kFramePaddingInitialSize - 1; i >= 0; i--) {
77 __ sd(at, MemOperand(sp, kPointerSize * i)); 77 __ sd(at, MemOperand(sp, kPointerSize * i));
78 } 78 }
79 __ li(at, Operand(Smi::FromInt(LiveEdit::kFramePaddingInitialSize))); 79 __ li(at, Operand(Smi::FromInt(LiveEdit::kFramePaddingInitialSize)));
80 __ push(at); 80 __ push(at);
81 81
82 if (mode == SAVE_RESULT_REGISTER) __ push(v0); 82 if (mode == SAVE_RESULT_REGISTER) __ push(v0);
83 83
84 __ PrepareCEntryArgs(0); // No arguments. 84 __ PrepareCEntryArgs(0); // No arguments.
85 __ PrepareCEntryFunction(ExternalReference::debug_break(masm->isolate())); 85 __ PrepareCEntryFunction(ExternalReference(
86 Runtime::FunctionForId(Runtime::kDebugBreak), masm->isolate()));
86 87
87 CEntryStub ceb(masm->isolate(), 1); 88 CEntryStub ceb(masm->isolate(), 1);
88 __ CallStub(&ceb); 89 __ CallStub(&ceb);
89 90
90 if (FLAG_debug_code) { 91 if (FLAG_debug_code) {
91 for (int i = 0; i < kNumJSCallerSaved; i++) { 92 for (int i = 0; i < kNumJSCallerSaved; i++) {
92 Register reg = {JSCallerSavedCode(i)}; 93 Register reg = {JSCallerSavedCode(i)};
93 __ li(reg, kDebugZapValue); 94 __ li(reg, kDebugZapValue);
94 } 95 }
95 } 96 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 145
145 146
146 const bool LiveEdit::kFrameDropperSupported = true; 147 const bool LiveEdit::kFrameDropperSupported = true;
147 148
148 #undef __ 149 #undef __
149 150
150 } // namespace internal 151 } // namespace internal
151 } // namespace v8 152 } // namespace v8
152 153
153 #endif // V8_TARGET_ARCH_MIPS64 154 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/code-stubs-mips64.cc ('k') | src/mips64/macro-assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698