OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/ic/access-compiler.h" | 9 #include "src/ic/access-compiler.h" |
10 | 10 |
(...skipping 22 matching lines...) Expand all Loading... |
33 Register name = LoadDescriptor::NameRegister(); | 33 Register name = LoadDescriptor::NameRegister(); |
34 static Register registers[] = {receiver, name, x3, x0, x4, x5}; | 34 static Register registers[] = {receiver, name, x3, x0, x4, x5}; |
35 return registers; | 35 return registers; |
36 } | 36 } |
37 | 37 |
38 | 38 |
39 Register* PropertyAccessCompiler::store_calling_convention() { | 39 Register* PropertyAccessCompiler::store_calling_convention() { |
40 // receiver, value, scratch1, scratch2, scratch3. | 40 // receiver, value, scratch1, scratch2, scratch3. |
41 Register receiver = StoreDescriptor::ReceiverRegister(); | 41 Register receiver = StoreDescriptor::ReceiverRegister(); |
42 Register name = StoreDescriptor::NameRegister(); | 42 Register name = StoreDescriptor::NameRegister(); |
43 DCHECK(x3.is(ElementTransitionAndStoreDescriptor::MapRegister())); | 43 DCHECK(x3.is(StoreTransitionDescriptor::MapRegister())); |
44 static Register registers[] = {receiver, name, x3, x4, x5}; | 44 static Register registers[] = {receiver, name, x3, x4, x5}; |
45 return registers; | 45 return registers; |
46 } | 46 } |
47 | 47 |
48 | 48 |
49 #undef __ | 49 #undef __ |
50 } // namespace internal | 50 } // namespace internal |
51 } // namespace v8 | 51 } // namespace v8 |
52 | 52 |
53 #endif // V8_TARGET_ARCH_ARM64 | 53 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |