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

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

Issue 1513543003: [turbofan] Make MachineType a pair of enums. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Moar rebase Created 5 years 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
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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
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_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/linkage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698