| 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/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/compiler/frame.h" | 10 #include "src/compiler/frame.h" |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 CallDescriptor* GetJSCallDescriptor(int parameter_count); | 171 CallDescriptor* GetJSCallDescriptor(int parameter_count); |
| 172 static CallDescriptor* GetJSCallDescriptor(int parameter_count, Zone* zone); | 172 static CallDescriptor* GetJSCallDescriptor(int parameter_count, Zone* zone); |
| 173 CallDescriptor* GetRuntimeCallDescriptor(Runtime::FunctionId function, | 173 CallDescriptor* GetRuntimeCallDescriptor(Runtime::FunctionId function, |
| 174 int parameter_count, | 174 int parameter_count, |
| 175 Operator::Properties properties); | 175 Operator::Properties properties); |
| 176 static CallDescriptor* GetRuntimeCallDescriptor( | 176 static CallDescriptor* GetRuntimeCallDescriptor( |
| 177 Runtime::FunctionId function, int parameter_count, | 177 Runtime::FunctionId function, int parameter_count, |
| 178 Operator::Properties properties, Zone* zone); | 178 Operator::Properties properties, Zone* zone); |
| 179 | 179 |
| 180 CallDescriptor* GetStubCallDescriptor( | 180 CallDescriptor* GetStubCallDescriptor( |
| 181 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count = 0, | 181 CallInterfaceDescriptor descriptor, int stack_parameter_count = 0, |
| 182 CallDescriptor::Flags flags = CallDescriptor::kNoFlags); | 182 CallDescriptor::Flags flags = CallDescriptor::kNoFlags); |
| 183 static CallDescriptor* GetStubCallDescriptor( | 183 static CallDescriptor* GetStubCallDescriptor( |
| 184 CodeStubInterfaceDescriptor* descriptor, int stack_parameter_count, | 184 CallInterfaceDescriptor descriptor, int stack_parameter_count, |
| 185 CallDescriptor::Flags flags, Zone* zone); | 185 CallDescriptor::Flags flags, Zone* zone); |
| 186 | 186 |
| 187 // Creates a call descriptor for simplified C calls that is appropriate | 187 // Creates a call descriptor for simplified C calls that is appropriate |
| 188 // for the host platform. This simplified calling convention only supports | 188 // for the host platform. This simplified calling convention only supports |
| 189 // integers and pointers of one word size each, i.e. no floating point, | 189 // integers and pointers of one word size each, i.e. no floating point, |
| 190 // structs, pointers to members, etc. | 190 // structs, pointers to members, etc. |
| 191 static CallDescriptor* GetSimplifiedCDescriptor(Zone* zone, | 191 static CallDescriptor* GetSimplifiedCDescriptor(Zone* zone, |
| 192 MachineSignature* sig); | 192 MachineSignature* sig); |
| 193 | 193 |
| 194 // Get the location of an (incoming) parameter to this function. | 194 // Get the location of an (incoming) parameter to this function. |
| (...skipping 28 matching lines...) Expand all Loading... |
| 223 private: | 223 private: |
| 224 CompilationInfo* info_; | 224 CompilationInfo* info_; |
| 225 CallDescriptor* incoming_; | 225 CallDescriptor* incoming_; |
| 226 }; | 226 }; |
| 227 | 227 |
| 228 } // namespace compiler | 228 } // namespace compiler |
| 229 } // namespace internal | 229 } // namespace internal |
| 230 } // namespace v8 | 230 } // namespace v8 |
| 231 | 231 |
| 232 #endif // V8_COMPILER_LINKAGE_H_ | 232 #endif // V8_COMPILER_LINKAGE_H_ |
| OLD | NEW |