| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM64 | 7 #if V8_TARGET_ARCH_ARM64 |
| 8 | 8 |
| 9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/base/division-by-constant.h" | 10 #include "src/base/division-by-constant.h" |
| (...skipping 3015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3026 Mov(dst, cp); | 3026 Mov(dst, cp); |
| 3027 } | 3027 } |
| 3028 } | 3028 } |
| 3029 | 3029 |
| 3030 | 3030 |
| 3031 void MacroAssembler::DebugBreak() { | 3031 void MacroAssembler::DebugBreak() { |
| 3032 Mov(x0, 0); | 3032 Mov(x0, 0); |
| 3033 Mov(x1, ExternalReference(Runtime::kDebugBreak, isolate())); | 3033 Mov(x1, ExternalReference(Runtime::kDebugBreak, isolate())); |
| 3034 CEntryStub ces(isolate(), 1); | 3034 CEntryStub ces(isolate(), 1); |
| 3035 DCHECK(AllowThisStubCall(&ces)); | 3035 DCHECK(AllowThisStubCall(&ces)); |
| 3036 Call(ces.GetCode(), RelocInfo::DEBUG_BREAK); | 3036 Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); |
| 3037 } | 3037 } |
| 3038 | 3038 |
| 3039 | 3039 |
| 3040 void MacroAssembler::PushStackHandler() { | 3040 void MacroAssembler::PushStackHandler() { |
| 3041 DCHECK(jssp.Is(StackPointer())); | 3041 DCHECK(jssp.Is(StackPointer())); |
| 3042 // Adjust this code if the asserts don't hold. | 3042 // Adjust this code if the asserts don't hold. |
| 3043 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); | 3043 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); |
| 3044 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); | 3044 STATIC_ASSERT(StackHandlerConstants::kNextOffset == 0 * kPointerSize); |
| 3045 | 3045 |
| 3046 // For the JSEntry handler, we must preserve the live registers x0-x4. | 3046 // For the JSEntry handler, we must preserve the live registers x0-x4. |
| (...skipping 2102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5149 } | 5149 } |
| 5150 | 5150 |
| 5151 | 5151 |
| 5152 #undef __ | 5152 #undef __ |
| 5153 | 5153 |
| 5154 | 5154 |
| 5155 } // namespace internal | 5155 } // namespace internal |
| 5156 } // namespace v8 | 5156 } // namespace v8 |
| 5157 | 5157 |
| 5158 #endif // V8_TARGET_ARCH_ARM64 | 5158 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |