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
This commit is contained in:
sgjesse@chromium.org 2009-08-14 11:35:10 +00:00
parent 4254388c14
commit 409993be38
2 changed files with 4 additions and 14 deletions

View File

@ -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_; }

View File

@ -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_; }