| OLD | NEW | 
|    1 // Copyright 2012 the V8 project authors. All rights reserved. |    1 // Copyright 2012 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_X64 |    5 #if V8_TARGET_ARCH_X64 | 
|    6  |    6  | 
|    7 #include "src/interface-descriptors.h" |    7 #include "src/interface-descriptors.h" | 
|    8  |    8  | 
|    9 namespace v8 { |    9 namespace v8 { | 
|   10 namespace internal { |   10 namespace internal { | 
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  430 void InterpreterCEntryDescriptor::InitializePlatformSpecific( |  430 void InterpreterCEntryDescriptor::InitializePlatformSpecific( | 
|  431     CallInterfaceDescriptorData* data) { |  431     CallInterfaceDescriptorData* data) { | 
|  432   Register registers[] = { |  432   Register registers[] = { | 
|  433       rax,  // argument count (argc) |  433       rax,  // argument count (argc) | 
|  434       r15,  // address of first argument (argv) |  434       r15,  // address of first argument (argv) | 
|  435       rbx   // the runtime function to call |  435       rbx   // the runtime function to call | 
|  436   }; |  436   }; | 
|  437   data->InitializePlatformSpecific(arraysize(registers), registers); |  437   data->InitializePlatformSpecific(arraysize(registers), registers); | 
|  438 } |  438 } | 
|  439  |  439  | 
 |  440  | 
 |  441 void AtomicsLoadDescriptor::InitializePlatformSpecific( | 
 |  442     CallInterfaceDescriptorData* data) { | 
 |  443   Register registers[] = {rdx, rax}; | 
 |  444   data->InitializePlatformSpecific(arraysize(registers), registers); | 
 |  445 } | 
 |  446  | 
|  440 }  // namespace internal |  447 }  // namespace internal | 
|  441 }  // namespace v8 |  448 }  // namespace v8 | 
|  442  |  449  | 
|  443 #endif  // V8_TARGET_ARCH_X64 |  450 #endif  // V8_TARGET_ARCH_X64 | 
| OLD | NEW |