1.1 --- a/jitcraft/Scopes.cpp Sun Jul 08 15:23:48 2012 -0700
1.2 +++ b/jitcraft/Scopes.cpp Sun Jul 08 16:49:17 2012 -0700
1.3 @@ -111,12 +111,12 @@
1.4 }
1.5
1.6 NamedFunction *
1.7 -Scope::declareFunction(Handle<String> name, const SourcePosition &pos)
1.8 +Scope::declareFunction(Handle<String> name, const SourcePosition &pos, TokenKind token)
1.9 {
1.10 assert(!localLookup(name));
1.11 assert(kind() == GLOBAL);
1.12
1.13 - NamedFunction *fun = new (pool_) NamedFunction(this, name, pos);
1.14 + NamedFunction *fun = new (pool_) NamedFunction(this, name, pos, token);
1.15 if (!names_.append(fun))
1.16 return NULL;
1.17 return fun;