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

Unified Diff: src/hydrogen.h

Issue 104663004: Preview of a first step towards unification of hydrogen calls (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merge fix Created 6 years, 11 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/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index cb99b555f5044ba5fa62df089d185944294c28fe..f8fb51789b6d7a4203109eb98056977814e01bdd 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -2173,6 +2173,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
// Remove the arguments from the bailout environment and emit instructions
// to push them as outgoing parameters.
template <class Instruction> HInstruction* PreProcessCall(Instruction* call);
+ void PushArgumentsFromEnvironment(int count);
void SetUpScope(Scope* scope);
virtual void VisitStatements(ZoneList<Statement*>* statements) V8_OVERRIDE;
@@ -2499,6 +2500,21 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
HValue* receiver,
Handle<Map> receiver_map);
+ HInstruction* NewPlainFunctionCall(HValue* fun,
+ int argument_count,
+ bool pass_argument_count);
+
+ HInstruction* NewArgumentAdaptorCall(HValue* fun, HValue* context,
+ int argument_count,
+ HValue* expected_param_count);
+
+ HInstruction* BuildCallConstantFunction(Handle<JSFunction> target,
+ int argument_count);
+
+ HInstruction* NewCallKeyed(HValue* key, int argument_count);
+
+ HInstruction* NewCallNamed(Handle<String> name, int argument_count);
+
// The translation state of the currently-being-translated function.
FunctionState* function_state_;
« no previous file with comments | « src/code-stubs.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698