| 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 #include "src/arm64/interface-descriptors-arm64.h" |    5 #include "src/arm64/interface-descriptors-arm64.h" | 
|    6  |    6  | 
|    7 #if V8_TARGET_ARCH_ARM64 |    7 #if V8_TARGET_ARCH_ARM64 | 
|    8  |    8  | 
|    9 #include "src/interface-descriptors.h" |    9 #include "src/interface-descriptors.h" | 
|   10  |   10  | 
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  159 void CallFunctionDescriptor::InitializePlatformSpecific( |  159 void CallFunctionDescriptor::InitializePlatformSpecific( | 
|  160     CallInterfaceDescriptorData* data) { |  160     CallInterfaceDescriptorData* data) { | 
|  161   // x1  function    the function to call |  161   // x1  function    the function to call | 
|  162   Register registers[] = {x1}; |  162   Register registers[] = {x1}; | 
|  163   data->InitializePlatformSpecific(arraysize(registers), registers); |  163   data->InitializePlatformSpecific(arraysize(registers), registers); | 
|  164 } |  164 } | 
|  165  |  165  | 
|  166  |  166  | 
|  167 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( |  167 void CallFunctionWithFeedbackDescriptor::InitializePlatformSpecific( | 
|  168     CallInterfaceDescriptorData* data) { |  168     CallInterfaceDescriptorData* data) { | 
|  169   Register registers[] = {x1, x3}; |  169   Register registers[] = {x1, x0, x3}; | 
|  170   data->InitializePlatformSpecific(arraysize(registers), registers); |  170   data->InitializePlatformSpecific(arraysize(registers), registers); | 
|  171 } |  171 } | 
|  172  |  172  | 
|  173  |  173  | 
|  174 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( |  174 void CallFunctionWithFeedbackAndVectorDescriptor::InitializePlatformSpecific( | 
|  175     CallInterfaceDescriptorData* data) { |  175     CallInterfaceDescriptorData* data) { | 
|  176   Register registers[] = {x1, x0, x3, x2}; |  176   Register registers[] = {x1, x0, x3, x2}; | 
|  177   data->InitializePlatformSpecific(arraysize(registers), registers); |  177   data->InitializePlatformSpecific(arraysize(registers), registers); | 
|  178 } |  178 } | 
|  179  |  179  | 
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  473   Register registers[] = { |  473   Register registers[] = { | 
|  474       x1,  // loaded new FP |  474       x1,  // loaded new FP | 
|  475   }; |  475   }; | 
|  476   data->InitializePlatformSpecific(arraysize(registers), registers); |  476   data->InitializePlatformSpecific(arraysize(registers), registers); | 
|  477 } |  477 } | 
|  478  |  478  | 
|  479 }  // namespace internal |  479 }  // namespace internal | 
|  480 }  // namespace v8 |  480 }  // namespace v8 | 
|  481  |  481  | 
|  482 #endif  // V8_TARGET_ARCH_ARM64 |  482 #endif  // V8_TARGET_ARCH_ARM64 | 
| OLD | NEW |