| Index: vm/ast.cc
|
| ===================================================================
|
| --- vm/ast.cc (revision 16285)
|
| +++ vm/ast.cc (working copy)
|
| @@ -426,12 +426,9 @@
|
| if (getter_func.IsNull() || !getter_func.is_const()) {
|
| return NULL;
|
| }
|
| - GrowableArray<const Object*> arguments;
|
| - const Array& kNoArgumentNames = Array::Handle();
|
| - const Object& result =
|
| - Object::Handle(DartEntry::InvokeStatic(getter_func,
|
| - arguments,
|
| - kNoArgumentNames));
|
| + const Array& args = Array::Handle(Object::empty_array());
|
| + const Object& result = Object::Handle(DartEntry::InvokeStatic(getter_func,
|
| + args));
|
| if (result.IsError() || result.IsNull()) {
|
| // TODO(turnidge): We could get better error messages by returning
|
| // the Error object directly to the parser. This will involve
|
|
|