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 #ifndef V8_ARM64_DELAYED_MASM_ARM64_INL_H_ | 5 #ifndef V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_ |
6 #define V8_ARM64_DELAYED_MASM_ARM64_INL_H_ | 6 #define V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_ |
7 | 7 |
8 #include "src/arm64/delayed-masm-arm64.h" | 8 #include "src/crankshaft/arm64/delayed-masm-arm64.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 #define __ ACCESS_MASM(masm_) | 13 #define __ ACCESS_MASM(masm_) |
14 | 14 |
15 | 15 |
16 void DelayedMasm::EndDelayedUse() { | 16 void DelayedMasm::EndDelayedUse() { |
17 EmitPending(); | 17 EmitPending(); |
18 DCHECK(!scratch_register_acquired_); | 18 DCHECK(!scratch_register_acquired_); |
(...skipping 27 matching lines...) Expand all Loading... |
46 DCHECK(!IsScratchRegister(result) || scratch_register_acquired_); | 46 DCHECK(!IsScratchRegister(result) || scratch_register_acquired_); |
47 __ LoadObject(result, object); | 47 __ LoadObject(result, object); |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 #undef __ | 51 #undef __ |
52 | 52 |
53 } // namespace internal | 53 } // namespace internal |
54 } // namespace v8 | 54 } // namespace v8 |
55 | 55 |
56 #endif // V8_ARM64_DELAYED_MASM_ARM64_INL_H_ | 56 #endif // V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_INL_H_ |
OLD | NEW |