Index: src/scopes.h |
diff --git a/src/scopes.h b/src/scopes.h |
index f8826c889c6cf75342e09310c0affde4e0cbaf61..85d0c4598b0c7ae0bb599d98f5edd5c906180bf5 100644 |
--- a/src/scopes.h |
+++ b/src/scopes.h |
@@ -166,14 +166,14 @@ class Scope: public ZoneObject { |
template<class Visitor> |
VariableProxy* NewUnresolved(AstNodeFactory<Visitor>* factory, |
Handle<String> name, |
- int position = RelocInfo::kNoPosition, |
- Interface* interface = Interface::NewValue()) { |
+ Interface* interface = Interface::NewValue(), |
+ int position = RelocInfo::kNoPosition) { |
// Note that we must not share the unresolved variables with |
// the same name because they may be removed selectively via |
// RemoveUnresolved(). |
ASSERT(!already_resolved()); |
VariableProxy* proxy = |
- factory->NewVariableProxy(name, false, position, interface); |
+ factory->NewVariableProxy(name, false, interface, position); |
unresolved_.Add(proxy, zone_); |
return proxy; |
} |