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:
parent
4254388c14
commit
409993be38
@ -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_; }
|
||||
|
Loading…
Reference in New Issue
Block a user