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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/code-stubs.h ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/code-assembler.h
diff --git a/src/compiler/code-assembler.h b/src/compiler/code-assembler.h
index 2e648d3b185120f1af289f0efc24fdd5cf0c1cd8..b5c4ccdc2c99021cf9a14b2ffa89d978f4e47b90 100644
--- a/src/compiler/code-assembler.h
+++ b/src/compiler/code-assembler.h
@@ -379,8 +379,13 @@ class CodeAssembler {
const Arg& arg3, const Arg& arg4, const Arg& arg5,
size_t result_size = 1);
+ Node* CallStubN(const CallInterfaceDescriptor& descriptor,
+ int js_parameter_count, Node* target, Node** args,
+ size_t result_size = 1);
Node* CallStubN(const CallInterfaceDescriptor& descriptor, Node* target,
- Node** args, size_t result_size = 1);
+ Node** args, size_t result_size = 1) {
+ return CallStubN(descriptor, 0, target, args, result_size);
+ }
Node* TailCallStub(Callable const& callable, Node* context, Node* arg1,
size_t result_size = 1);
« 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