| 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_ARM | 9 #if V8_TARGET_ARCH_ARM |
| 10 | 10 |
| (...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1430 cmp(scratch, Operand(LAST_NAME_TYPE)); | 1430 cmp(scratch, Operand(LAST_NAME_TYPE)); |
| 1431 b(hi, fail); | 1431 b(hi, fail); |
| 1432 } | 1432 } |
| 1433 | 1433 |
| 1434 | 1434 |
| 1435 void MacroAssembler::DebugBreak() { | 1435 void MacroAssembler::DebugBreak() { |
| 1436 mov(r0, Operand::Zero()); | 1436 mov(r0, Operand::Zero()); |
| 1437 mov(r1, Operand(ExternalReference(Runtime::kDebugBreak, isolate()))); | 1437 mov(r1, Operand(ExternalReference(Runtime::kDebugBreak, isolate()))); |
| 1438 CEntryStub ces(isolate(), 1); | 1438 CEntryStub ces(isolate(), 1); |
| 1439 DCHECK(AllowThisStubCall(&ces)); | 1439 DCHECK(AllowThisStubCall(&ces)); |
| 1440 Call(ces.GetCode(), RelocInfo::DEBUG_BREAK); | 1440 Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); |
| 1441 } | 1441 } |
| 1442 | 1442 |
| 1443 | 1443 |
| 1444 void MacroAssembler::PushStackHandler() { | 1444 void MacroAssembler::PushStackHandler() { |
| 1445 // Adjust this code if not the case. | 1445 // Adjust this code if not the case. |
| 1446 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); | 1446 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); |
| 1447 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); | 1447 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); |
| 1448 | 1448 |
| 1449 // Link the current handler as the next handler. | 1449 // Link the current handler as the next handler. |
| 1450 mov(r6, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); | 1450 mov(r6, Operand(ExternalReference(Isolate::kHandlerAddress, isolate()))); |
| (...skipping 2469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3920 } | 3920 } |
| 3921 } | 3921 } |
| 3922 if (mag.shift > 0) mov(result, Operand(result, ASR, mag.shift)); | 3922 if (mag.shift > 0) mov(result, Operand(result, ASR, mag.shift)); |
| 3923 add(result, result, Operand(dividend, LSR, 31)); | 3923 add(result, result, Operand(dividend, LSR, 31)); |
| 3924 } | 3924 } |
| 3925 | 3925 |
| 3926 } // namespace internal | 3926 } // namespace internal |
| 3927 } // namespace v8 | 3927 } // namespace v8 |
| 3928 | 3928 |
| 3929 #endif // V8_TARGET_ARCH_ARM | 3929 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |