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

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

Powered by Google App Engine
This is Rietveld 408576698