Commit 409993be authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Refactor SetFunctionInfo to reduce long argument list take 2.

It now includes the change to ARM and x64 architectures as well.

TBR=ager@chromium.org
Review URL: http://codereview.chromium.org/165528

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2689 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 4254388c
......@@ -152,14 +152,9 @@ class CodeGenerator: public AstVisitor {
#endif
static void SetFunctionInfo(Handle<JSFunction> fun,
int length,
int function_token_position,
int start_position,
int end_position,
bool is_expression,
FunctionLiteral* lit,
bool is_toplevel,
Handle<Script> script,
Handle<String> inferred_name);
Handle<Script> script);
// Accessors
MacroAssembler* masm() { return masm_; }
......
......@@ -299,14 +299,9 @@ class CodeGenerator: public AstVisitor {
#endif
static void SetFunctionInfo(Handle<JSFunction> fun,
int length,
int function_token_position,
int start_position,
int end_position,
bool is_expression,
FunctionLiteral* lit,
bool is_toplevel,
Handle<Script> script,
Handle<String> inferred_name);
Handle<Script> script);
// Accessors
MacroAssembler* masm() { return masm_; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment