| OLD | NEW | 
|---|
| 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 3343 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 3354   dsrl32(scratch, scratch, 0); | 3354   dsrl32(scratch, scratch, 0); | 
| 3355   pop(dst); | 3355   pop(dst); | 
| 3356   dsrl32(dst, dst, 0); | 3356   dsrl32(dst, dst, 0); | 
| 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( | 
|  | 3365       ExternalReference(Runtime::kHandleDebuggerStatement, isolate())); | 
| 3365   CEntryStub ces(isolate(), 1); | 3366   CEntryStub ces(isolate(), 1); | 
| 3366   DCHECK(AllowThisStubCall(&ces)); | 3367   DCHECK(AllowThisStubCall(&ces)); | 
| 3367   Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); | 3368   Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); | 
| 3368 } | 3369 } | 
| 3369 | 3370 | 
| 3370 | 3371 | 
| 3371 // --------------------------------------------------------------------------- | 3372 // --------------------------------------------------------------------------- | 
| 3372 // Exception handling. | 3373 // Exception handling. | 
| 3373 | 3374 | 
| 3374 void MacroAssembler::PushStackHandler() { | 3375 void MacroAssembler::PushStackHandler() { | 
| (...skipping 2970 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6345   if (mag.shift > 0) sra(result, result, mag.shift); | 6346   if (mag.shift > 0) sra(result, result, mag.shift); | 
| 6346   srl(at, dividend, 31); | 6347   srl(at, dividend, 31); | 
| 6347   Addu(result, result, Operand(at)); | 6348   Addu(result, result, Operand(at)); | 
| 6348 } | 6349 } | 
| 6349 | 6350 | 
| 6350 | 6351 | 
| 6351 }  // namespace internal | 6352 }  // namespace internal | 
| 6352 }  // namespace v8 | 6353 }  // namespace v8 | 
| 6353 | 6354 | 
| 6354 #endif  // V8_TARGET_ARCH_MIPS64 | 6355 #endif  // V8_TARGET_ARCH_MIPS64 | 
| OLD | NEW | 
|---|