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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 Zone* zone, Runtime::FunctionId function, int parameter_count, | 44 Zone* zone, Runtime::FunctionId function, int parameter_count, |
45 Operator::Properties properties) { | 45 Operator::Properties properties) { |
46 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, | 46 return LH::GetRuntimeCallDescriptor(zone, function, parameter_count, |
47 properties); | 47 properties); |
48 } | 48 } |
49 | 49 |
50 | 50 |
51 CallDescriptor* Linkage::GetStubCallDescriptor( | 51 CallDescriptor* Linkage::GetStubCallDescriptor( |
52 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, | 52 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, |
53 int stack_parameter_count, CallDescriptor::Flags flags, | 53 int stack_parameter_count, CallDescriptor::Flags flags, |
54 Operator::Properties properties) { | 54 Operator::Properties properties, MachineType return_type) { |
55 return LH::GetStubCallDescriptor(isolate, zone, descriptor, | 55 return LH::GetStubCallDescriptor(isolate, zone, descriptor, |
56 stack_parameter_count, flags, properties); | 56 stack_parameter_count, flags, properties, |
| 57 return_type); |
57 } | 58 } |
58 | 59 |
59 | 60 |
60 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, | 61 CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, |
61 const MachineSignature* sig) { | 62 const MachineSignature* sig) { |
62 return LH::GetSimplifiedCDescriptor(zone, sig); | 63 return LH::GetSimplifiedCDescriptor(zone, sig); |
63 } | 64 } |
64 | 65 |
65 } // namespace compiler | 66 } // namespace compiler |
66 } // namespace internal | 67 } // namespace internal |
67 } // namespace v8 | 68 } // namespace v8 |
OLD | NEW |