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