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/machine-type.h" | 10 #include "src/compiler/machine-type.h" |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 300 |
301 // The call descriptor for this compilation unit describes the locations | 301 // The call descriptor for this compilation unit describes the locations |
302 // of incoming parameters and the outgoing return value(s). | 302 // of incoming parameters and the outgoing return value(s). |
303 CallDescriptor* GetIncomingDescriptor() const { return incoming_; } | 303 CallDescriptor* GetIncomingDescriptor() const { return incoming_; } |
304 static CallDescriptor* GetJSCallDescriptor(Zone* zone, bool is_osr, | 304 static CallDescriptor* GetJSCallDescriptor(Zone* zone, bool is_osr, |
305 int parameter_count, | 305 int parameter_count, |
306 CallDescriptor::Flags flags); | 306 CallDescriptor::Flags flags); |
307 | 307 |
308 static CallDescriptor* GetRuntimeCallDescriptor( | 308 static CallDescriptor* GetRuntimeCallDescriptor( |
309 Zone* zone, Runtime::FunctionId function, int parameter_count, | 309 Zone* zone, Runtime::FunctionId function, int parameter_count, |
310 Operator::Properties properties, bool needs_frame_state = true); | 310 Operator::Properties properties, CallDescriptor::Flags flags); |
311 | 311 |
312 static CallDescriptor* GetLazyBailoutDescriptor(Zone* zone); | 312 static CallDescriptor* GetLazyBailoutDescriptor(Zone* zone); |
313 | 313 |
314 static CallDescriptor* GetStubCallDescriptor( | 314 static CallDescriptor* GetStubCallDescriptor( |
315 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, | 315 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, |
316 int stack_parameter_count, CallDescriptor::Flags flags, | 316 int stack_parameter_count, CallDescriptor::Flags flags, |
317 Operator::Properties properties = Operator::kNoProperties, | 317 Operator::Properties properties = Operator::kNoProperties, |
318 MachineType return_type = kMachAnyTagged); | 318 MachineType return_type = kMachAnyTagged); |
319 | 319 |
320 // Creates a call descriptor for simplified C calls that is appropriate | 320 // Creates a call descriptor for simplified C calls that is appropriate |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 CallDescriptor* const incoming_; | 391 CallDescriptor* const incoming_; |
392 | 392 |
393 DISALLOW_COPY_AND_ASSIGN(Linkage); | 393 DISALLOW_COPY_AND_ASSIGN(Linkage); |
394 }; | 394 }; |
395 | 395 |
396 } // namespace compiler | 396 } // namespace compiler |
397 } // namespace internal | 397 } // namespace internal |
398 } // namespace v8 | 398 } // namespace v8 |
399 | 399 |
400 #endif // V8_COMPILER_LINKAGE_H_ | 400 #endif // V8_COMPILER_LINKAGE_H_ |
OLD | NEW |