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 #ifndef V8_COMPILER_LINKAGE_H_ | 5 #ifndef V8_COMPILER_LINKAGE_H_ |
6 #define V8_COMPILER_LINKAGE_H_ | 6 #define V8_COMPILER_LINKAGE_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/compiler/frame.h" | 9 #include "src/compiler/frame.h" |
10 #include "src/compiler/operator.h" | 10 #include "src/compiler/operator.h" |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 static CallDescriptor* GetRuntimeCallDescriptor( | 312 static CallDescriptor* GetRuntimeCallDescriptor( |
313 Zone* zone, Runtime::FunctionId function, int parameter_count, | 313 Zone* zone, Runtime::FunctionId function, int parameter_count, |
314 Operator::Properties properties, CallDescriptor::Flags flags); | 314 Operator::Properties properties, CallDescriptor::Flags flags); |
315 | 315 |
316 static CallDescriptor* GetLazyBailoutDescriptor(Zone* zone); | 316 static CallDescriptor* GetLazyBailoutDescriptor(Zone* zone); |
317 | 317 |
318 static CallDescriptor* GetStubCallDescriptor( | 318 static CallDescriptor* GetStubCallDescriptor( |
319 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, | 319 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, |
320 int stack_parameter_count, CallDescriptor::Flags flags, | 320 int stack_parameter_count, CallDescriptor::Flags flags, |
321 Operator::Properties properties = Operator::kNoProperties, | 321 Operator::Properties properties = Operator::kNoProperties, |
322 MachineType return_type = kMachAnyTagged); | 322 MachineType return_type = MachineType::AnyTagged()); |
323 | 323 |
324 // Creates a call descriptor for simplified C calls that is appropriate | 324 // Creates a call descriptor for simplified C calls that is appropriate |
325 // for the host platform. This simplified calling convention only supports | 325 // for the host platform. This simplified calling convention only supports |
326 // integers and pointers of one word size each, i.e. no floating point, | 326 // integers and pointers of one word size each, i.e. no floating point, |
327 // structs, pointers to members, etc. | 327 // structs, pointers to members, etc. |
328 static CallDescriptor* GetSimplifiedCDescriptor(Zone* zone, | 328 static CallDescriptor* GetSimplifiedCDescriptor(Zone* zone, |
329 const MachineSignature* sig); | 329 const MachineSignature* sig); |
330 | 330 |
331 // Creates a call descriptor for interpreter handler code stubs. These are not | 331 // Creates a call descriptor for interpreter handler code stubs. These are not |
332 // intended to be called directly but are instead dispatched to by the | 332 // intended to be called directly but are instead dispatched to by the |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 CallDescriptor* const incoming_; | 395 CallDescriptor* const incoming_; |
396 | 396 |
397 DISALLOW_COPY_AND_ASSIGN(Linkage); | 397 DISALLOW_COPY_AND_ASSIGN(Linkage); |
398 }; | 398 }; |
399 | 399 |
400 } // namespace compiler | 400 } // namespace compiler |
401 } // namespace internal | 401 } // namespace internal |
402 } // namespace v8 | 402 } // namespace v8 |
403 | 403 |
404 #endif // V8_COMPILER_LINKAGE_H_ | 404 #endif // V8_COMPILER_LINKAGE_H_ |
OLD | NEW |