| 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 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 // receiver, name, scratch1, scratch2, scratch3. | 33 // receiver, name, scratch1, scratch2, scratch3. |
| 34 Register receiver = StoreDescriptor::ReceiverRegister(); | 34 Register receiver = StoreDescriptor::ReceiverRegister(); |
| 35 Register name = StoreDescriptor::NameRegister(); | 35 Register name = StoreDescriptor::NameRegister(); |
| 36 DCHECK(rbx.is(ElementTransitionAndStoreDescriptor::MapRegister())); | 36 DCHECK(rbx.is(ElementTransitionAndStoreDescriptor::MapRegister())); |
| 37 static Register registers[] = {receiver, name, rbx, rdi, r8}; | 37 static Register registers[] = {receiver, name, rbx, rdi, r8}; |
| 38 return registers; | 38 return registers; |
| 39 } | 39 } |
| 40 | 40 |
| 41 | 41 |
| 42 #undef __ | 42 #undef __ |
| 43 } | 43 } // namespace internal |
| 44 } // namespace v8::internal | 44 } // namespace v8 |
| 45 | 45 |
| 46 #endif // V8_TARGET_ARCH_X64 | 46 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |