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

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

Issue 2259883002: [turbofan] Inline calls to CPP builtins (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@builtin-descriptors
Patch Set: Address comments Created 4 years, 4 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
« 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 static CallDescriptor* ComputeIncoming(Zone* zone, CompilationInfo* info); 336 static CallDescriptor* ComputeIncoming(Zone* zone, CompilationInfo* info);
337 337
338 // The call descriptor for this compilation unit describes the locations 338 // The call descriptor for this compilation unit describes the locations
339 // of incoming parameters and the outgoing return value(s). 339 // of incoming parameters and the outgoing return value(s).
340 CallDescriptor* GetIncomingDescriptor() const { return incoming_; } 340 CallDescriptor* GetIncomingDescriptor() const { return incoming_; }
341 static CallDescriptor* GetJSCallDescriptor(Zone* zone, bool is_osr, 341 static CallDescriptor* GetJSCallDescriptor(Zone* zone, bool is_osr,
342 int parameter_count, 342 int parameter_count,
343 CallDescriptor::Flags flags); 343 CallDescriptor::Flags flags);
344 344
345 static CallDescriptor* GetRuntimeCallDescriptor( 345 static CallDescriptor* GetRuntimeCallDescriptor(
346 Zone* zone, Runtime::FunctionId function, int parameter_count, 346 Zone* zone, Runtime::FunctionId function, int js_parameter_count,
347 Operator::Properties properties, CallDescriptor::Flags flags); 347 Operator::Properties properties, CallDescriptor::Flags flags);
348 348
349 static CallDescriptor* GetCEntryStubCallDescriptor(
350 Zone* zone, int return_count, int js_parameter_count,
351 const char* debug_name, Operator::Properties properties,
352 CallDescriptor::Flags flags);
353
349 static CallDescriptor* GetStubCallDescriptor( 354 static CallDescriptor* GetStubCallDescriptor(
350 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, 355 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor,
351 int stack_parameter_count, CallDescriptor::Flags flags, 356 int stack_parameter_count, CallDescriptor::Flags flags,
352 Operator::Properties properties = Operator::kNoProperties, 357 Operator::Properties properties = Operator::kNoProperties,
353 MachineType return_type = MachineType::AnyTagged(), 358 MachineType return_type = MachineType::AnyTagged(),
354 size_t return_count = 1); 359 size_t return_count = 1);
355 360
356 static CallDescriptor* GetAllocateCallDescriptor(Zone* zone); 361 static CallDescriptor* GetAllocateCallDescriptor(Zone* zone);
357 static CallDescriptor* GetBytecodeDispatchCallDescriptor( 362 static CallDescriptor* GetBytecodeDispatchCallDescriptor(
358 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor, 363 Isolate* isolate, Zone* zone, const CallInterfaceDescriptor& descriptor,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 CallDescriptor* const incoming_; 432 CallDescriptor* const incoming_;
428 433
429 DISALLOW_COPY_AND_ASSIGN(Linkage); 434 DISALLOW_COPY_AND_ASSIGN(Linkage);
430 }; 435 };
431 436
432 } // namespace compiler 437 } // namespace compiler
433 } // namespace internal 438 } // namespace internal
434 } // namespace v8 439 } // namespace v8
435 440
436 #endif // V8_COMPILER_LINKAGE_H_ 441 #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