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