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

Side by Side Diff: src/compiler/code-assembler.h

Issue 2352163004: [stubs] ApiCallbackDescriptor cleanup - make it independent on the number of JS parameters. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « src/code-stubs.h ('k') | src/compiler/code-assembler.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 Node* context, const Arg& arg1, const Arg& arg2, 372 Node* context, const Arg& arg1, const Arg& arg2,
373 const Arg& arg3, size_t result_size = 1); 373 const Arg& arg3, size_t result_size = 1);
374 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, 374 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target,
375 Node* context, const Arg& arg1, const Arg& arg2, 375 Node* context, const Arg& arg1, const Arg& arg2,
376 const Arg& arg3, const Arg& arg4, size_t result_size = 1); 376 const Arg& arg3, const Arg& arg4, size_t result_size = 1);
377 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target, 377 Node* CallStub(const CallInterfaceDescriptor& descriptor, Node* target,
378 Node* context, const Arg& arg1, const Arg& arg2, 378 Node* context, const Arg& arg1, const Arg& arg2,
379 const Arg& arg3, const Arg& arg4, const Arg& arg5, 379 const Arg& arg3, const Arg& arg4, const Arg& arg5,
380 size_t result_size = 1); 380 size_t result_size = 1);
381 381
382 Node* CallStubN(const CallInterfaceDescriptor& descriptor,
383 int js_parameter_count, Node* target, Node** args,
384 size_t result_size = 1);
382 Node* CallStubN(const CallInterfaceDescriptor& descriptor, Node* target, 385 Node* CallStubN(const CallInterfaceDescriptor& descriptor, Node* target,
383 Node** args, size_t result_size = 1); 386 Node** args, size_t result_size = 1) {
387 return CallStubN(descriptor, 0, target, args, result_size);
388 }
384 389
385 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, 390 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1,
386 size_t result_size = 1); 391 size_t result_size = 1);
387 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, 392 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1,
388 Node* arg2, size_t result_size = 1); 393 Node* arg2, size_t result_size = 1);
389 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, 394 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1,
390 Node* arg2, Node* arg3, size_t result_size = 1); 395 Node* arg2, Node* arg3, size_t result_size = 1);
391 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1, 396 Node* TailCallStub(Callable const& callable, Node* context, Node* arg1,
392 Node* arg2, Node* arg3, Node* arg4, 397 Node* arg2, Node* arg3, Node* arg4,
393 size_t result_size = 1); 398 size_t result_size = 1);
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // Map of variables to the list of value nodes that have been added from each 503 // Map of variables to the list of value nodes that have been added from each
499 // merge path in their order of merging. 504 // merge path in their order of merging.
500 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 505 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
501 }; 506 };
502 507
503 } // namespace compiler 508 } // namespace compiler
504 } // namespace internal 509 } // namespace internal
505 } // namespace v8 510 } // namespace v8
506 511
507 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 512 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698