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

Unified Diff: src/compiler/bytecode-graph-builder.h

Issue 2709533002: Revert of [interpreter] Create custom call opcodes for specific argument counts (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/bytecode-graph-builder.h
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h
index 55a345643b58ebfe5481c5c0ba54fb0d751104e7..41fcf6851f562c0fe992a75e9946bad030bec7ee 100644
--- a/src/compiler/bytecode-graph-builder.h
+++ b/src/compiler/bytecode-graph-builder.h
@@ -104,16 +104,11 @@
// The main node creation chokepoint. Adds context, frame state, effect,
// and control dependencies depending on the operator.
- Node* MakeNode(const Operator* op, int value_input_count,
- Node* const* value_inputs, bool incomplete);
+ Node* MakeNode(const Operator* op, int value_input_count, Node** value_inputs,
+ bool incomplete);
Node** EnsureInputBufferSize(int size);
- Node* const* GetCallArgumentsFromRegister(Node* callee,
- interpreter::Register first_arg,
- size_t arity);
- Node* ProcessCallArguments(const Operator* call_op, Node* const* args,
- size_t arg_count);
Node* ProcessCallArguments(const Operator* call_op, Node* callee,
interpreter::Register receiver, size_t arity);
Node* ProcessConstructArguments(const Operator* call_new_op, Node* callee,
@@ -155,16 +150,8 @@
void BuildLdaLookupContextSlot(TypeofMode typeof_mode);
void BuildLdaLookupGlobalSlot(TypeofMode typeof_mode);
void BuildStaLookupSlot(LanguageMode language_mode);
- void BuildCallVarArgs(TailCallMode tail_call_mode,
- ConvertReceiverMode receiver_hint);
- void BuildCall(TailCallMode tail_call_mode, ConvertReceiverMode receiver_hint,
- Node* const* args, size_t arg_count, int slot_id);
- void BuildCall(TailCallMode tail_call_mode, ConvertReceiverMode receiver_hint,
- std::initializer_list<Node*> args, int slot_id) {
- BuildCall(tail_call_mode, receiver_hint, args.begin(), args.size(),
- slot_id);
- }
- void BuildThrow();
+ void BuildCall(TailCallMode tail_call_mode,
+ ConvertReceiverMode receiver_hint);
void BuildBinaryOp(const Operator* op);
void BuildBinaryOpWithImmediate(const Operator* op);
void BuildCompareOp(const Operator* op);
« no previous file with comments | « no previous file | src/compiler/bytecode-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698