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

Side by Side Diff: src/mips64/macro-assembler-mips64.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/mips64/assembler-mips64.cc ('k') | src/objects.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 #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_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 3346 matching lines...) Expand 10 before | Expand all | Expand 10 after
3357 dsll32(dst, dst, 0); 3357 dsll32(dst, dst, 0);
3358 or_(dst, dst, scratch); 3358 or_(dst, dst, scratch);
3359 } 3359 }
3360 3360
3361 3361
3362 void MacroAssembler::DebugBreak() { 3362 void MacroAssembler::DebugBreak() {
3363 PrepareCEntryArgs(0); 3363 PrepareCEntryArgs(0);
3364 PrepareCEntryFunction(ExternalReference(Runtime::kDebugBreak, isolate())); 3364 PrepareCEntryFunction(ExternalReference(Runtime::kDebugBreak, isolate()));
3365 CEntryStub ces(isolate(), 1); 3365 CEntryStub ces(isolate(), 1);
3366 DCHECK(AllowThisStubCall(&ces)); 3366 DCHECK(AllowThisStubCall(&ces));
3367 Call(ces.GetCode(), RelocInfo::DEBUG_BREAK); 3367 Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT);
3368 } 3368 }
3369 3369
3370 3370
3371 // --------------------------------------------------------------------------- 3371 // ---------------------------------------------------------------------------
3372 // Exception handling. 3372 // Exception handling.
3373 3373
3374 void MacroAssembler::PushStackHandler() { 3374 void MacroAssembler::PushStackHandler() {
3375 // Adjust this code if not the case. 3375 // Adjust this code if not the case.
3376 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); 3376 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize);
3377 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); 3377 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize);
(...skipping 2978 matching lines...) Expand 10 before | Expand all | Expand 10 after
6356 if (mag.shift > 0) sra(result, result, mag.shift); 6356 if (mag.shift > 0) sra(result, result, mag.shift);
6357 srl(at, dividend, 31); 6357 srl(at, dividend, 31);
6358 Addu(result, result, Operand(at)); 6358 Addu(result, result, Operand(at));
6359 } 6359 }
6360 6360
6361 6361
6362 } // namespace internal 6362 } // namespace internal
6363 } // namespace v8 6363 } // namespace v8
6364 6364
6365 #endif // V8_TARGET_ARCH_MIPS64 6365 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698