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/assembler.h" | 5 #include "src/assembler.h" |
6 #include "src/code-stubs.h" | 6 #include "src/code-stubs.h" |
7 #include "src/compiler/linkage.h" | 7 #include "src/compiler/linkage.h" |
8 #include "src/compiler/linkage-impl.h" | 8 #include "src/compiler/linkage-impl.h" |
9 #include "src/zone.h" | 9 #include "src/zone.h" |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 Zone* zone, Runtime::FunctionId function, int parameter_count, | 58 Zone* zone, Runtime::FunctionId function, int parameter_count, |
59 Operator::Properties properties) { | 59 Operator::Properties properties) { |
60 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, | 60 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, |
61 properties); | 61 properties); |
62 } | 62 } |
63 | 63 |
64 | 64 |
65 CallDescriptor* Linkage::GetStubCallDescriptor( | 65 CallDescriptor* Linkage::GetStubCallDescriptor( |
66 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, | 66 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, |
67 int stack_parameter_count, CallDescriptor::Flags flags, | 67 int stack_parameter_count, CallDescriptor::Flags flags, |
68 Operator::Properties properties) { | 68 Operator::Properties properties, MachineType return_type) { |
69 return LH::GetStubCallDescriptor(isolate, zone, descriptor, | 69 return LH::GetStubCallDescriptor(isolate, zone, descriptor, |
70 stack_parameter_count, flags, properties); | 70 stack_parameter_count, flags, properties, |
| 71 return_type); |
71 } | 72 } |
72 | 73 |
73 | 74 |
74 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, | 75 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, |
75 const MachineSignature* sig) { | 76 const MachineSignature* sig) { |
76 return LH::GetSimplifiedCDescriptor(zone, sig); | 77 return LH::GetSimplifiedCDescriptor(zone, sig); |
77 } | 78 } |
78 | 79 |
79 } // namespace compiler | 80 } // namespace compiler |
80 } // namespace internal | 81 } // namespace internal |
81 } // namespace v8 | 82 } // namespace v8 |
OLD | NEW |