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

Side by Side Diff: src/mips/macro-assembler-mips.cc

Issue 1232803002: Debugger: refactor reloc info. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix mips 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/assembler-mips.cc ('k') | src/mips64/assembler-mips64.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 <limits.h> // For LONG_MIN, LONG_MAX. 5 #include <limits.h> // For LONG_MIN, LONG_MAX.
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 3272 matching lines...) Expand 10 before | Expand all | Expand 10 after
3283 li(at, Operand(handle)); 3283 li(at, Operand(handle));
3284 push(at); 3284 push(at);
3285 } 3285 }
3286 3286
3287 3287
3288 void MacroAssembler::DebugBreak() { 3288 void MacroAssembler::DebugBreak() {
3289 PrepareCEntryArgs(0); 3289 PrepareCEntryArgs(0);
3290 PrepareCEntryFunction(ExternalReference(Runtime::kDebugBreak, isolate())); 3290 PrepareCEntryFunction(ExternalReference(Runtime::kDebugBreak, isolate()));
3291 CEntryStub ces(isolate(), 1); 3291 CEntryStub ces(isolate(), 1);
3292 DCHECK(AllowThisStubCall(&ces)); 3292 DCHECK(AllowThisStubCall(&ces));
3293 Call(ces.GetCode(), RelocInfo::DEBUG_BREAK); 3293 Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT);
3294 } 3294 }
3295 3295
3296 3296
3297 // --------------------------------------------------------------------------- 3297 // ---------------------------------------------------------------------------
3298 // Exception handling. 3298 // Exception handling.
3299 3299
3300 void MacroAssembler::PushStackHandler() { 3300 void MacroAssembler::PushStackHandler() {
3301 // Adjust this code if not the case. 3301 // Adjust this code if not the case.
3302 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); 3302 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize);
3303 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); 3303 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize);
(...skipping 2822 matching lines...) Expand 10 before | Expand all | Expand 10 after
6126 if (mag.shift > 0) sra(result, result, mag.shift); 6126 if (mag.shift > 0) sra(result, result, mag.shift);
6127 srl(at, dividend, 31); 6127 srl(at, dividend, 31);
6128 Addu(result, result, Operand(at)); 6128 Addu(result, result, Operand(at));
6129 } 6129 }
6130 6130
6131 6131
6132 } // namespace internal 6132 } // namespace internal
6133 } // namespace v8 6133 } // namespace v8
6134 6134
6135 #endif // V8_TARGET_ARCH_MIPS 6135 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/assembler-mips.cc ('k') | src/mips64/assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698