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_X87 | 7 #if V8_TARGET_ARCH_X87 |
8 | 8 |
9 #include "src/ic/access-compiler.h" | 9 #include "src/ic/access-compiler.h" |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 Register name = LoadDescriptor::NameRegister(); | 25 Register name = LoadDescriptor::NameRegister(); |
26 static Register registers[] = {receiver, name, ebx, eax, edi, no_reg}; | 26 static Register registers[] = {receiver, name, ebx, eax, edi, no_reg}; |
27 return registers; | 27 return registers; |
28 } | 28 } |
29 | 29 |
30 | 30 |
31 Register* PropertyAccessCompiler::store_calling_convention() { | 31 Register* PropertyAccessCompiler::store_calling_convention() { |
32 // receiver, name, scratch1, scratch2, scratch3. | 32 // receiver, name, scratch1, scratch2, scratch3. |
33 Register receiver = StoreDescriptor::ReceiverRegister(); | 33 Register receiver = StoreDescriptor::ReceiverRegister(); |
34 Register name = StoreDescriptor::NameRegister(); | 34 Register name = StoreDescriptor::NameRegister(); |
35 DCHECK(ebx.is(ElementTransitionAndStoreDescriptor::MapRegister())); | 35 DCHECK(ebx.is(StoreTransitionDescriptor::MapRegister())); |
36 static Register registers[] = {receiver, name, ebx, edi, no_reg}; | 36 static Register registers[] = {receiver, name, ebx, edi, no_reg}; |
37 return registers; | 37 return registers; |
38 } | 38 } |
39 | 39 |
40 #undef __ | 40 #undef __ |
41 } // namespace internal | 41 } // namespace internal |
42 } // namespace v8 | 42 } // namespace v8 |
43 | 43 |
44 #endif // V8_TARGET_ARCH_X87 | 44 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |