| 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 3031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3042 // Slot is in the current function context. Move it into the | 3042 // Slot is in the current function context. Move it into the |
| 3043 // destination register in case we store into it (the write barrier | 3043 // destination register in case we store into it (the write barrier |
| 3044 // cannot be allowed to destroy the context in cp). | 3044 // cannot be allowed to destroy the context in cp). |
| 3045 Mov(dst, cp); | 3045 Mov(dst, cp); |
| 3046 } | 3046 } |
| 3047 } | 3047 } |
| 3048 | 3048 |
| 3049 | 3049 |
| 3050 void MacroAssembler::DebugBreak() { | 3050 void MacroAssembler::DebugBreak() { |
| 3051 Mov(x0, 0); | 3051 Mov(x0, 0); |
| 3052 Mov(x1, ExternalReference(Runtime::kDebugBreak, isolate())); | 3052 Mov(x1, ExternalReference(Runtime::kHandleDebuggerStatement, isolate())); |
| 3053 CEntryStub ces(isolate(), 1); | 3053 CEntryStub ces(isolate(), 1); |
| 3054 DCHECK(AllowThisStubCall(&ces)); | 3054 DCHECK(AllowThisStubCall(&ces)); |
| 3055 Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); | 3055 Call(ces.GetCode(), RelocInfo::DEBUGGER_STATEMENT); |
| 3056 } | 3056 } |
| 3057 | 3057 |
| 3058 | 3058 |
| 3059 void MacroAssembler::PushStackHandler() { | 3059 void MacroAssembler::PushStackHandler() { |
| 3060 DCHECK(jssp.Is(StackPointer())); | 3060 DCHECK(jssp.Is(StackPointer())); |
| 3061 // Adjust this code if the asserts don't hold. | 3061 // Adjust this code if the asserts don't hold. |
| 3062 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); | 3062 STATIC_ASSERT(StackHandlerConstants::kSize == 1 * kPointerSize); |
| (...skipping 2093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5156 } | 5156 } |
| 5157 | 5157 |
| 5158 | 5158 |
| 5159 #undef __ | 5159 #undef __ |
| 5160 | 5160 |
| 5161 | 5161 |
| 5162 } // namespace internal | 5162 } // namespace internal |
| 5163 } // namespace v8 | 5163 } // namespace v8 |
| 5164 | 5164 |
| 5165 #endif // V8_TARGET_ARCH_ARM64 | 5165 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |