Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/compiler/linkage.h

Issue 552803002: Get CallInterfaceDescriptor directly from CodeStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698