Index: vm/code_descriptors_test.cc |
=================================================================== |
--- vm/code_descriptors_test.cc (revision 16285) |
+++ vm/code_descriptors_test.cc (working copy) |
@@ -277,10 +277,9 @@ |
// Now invoke 'A.moo' and it will trigger a GC when the native function |
// is called, this should then cause the stack map of function 'A.foo' |
// to be traversed and the appropriate objects visited. |
- GrowableArray<const Object*> arguments; |
- const Array& kNoArgumentNames = Array::Handle(); |
- Object& result = Object::Handle(); |
- result = DartEntry::InvokeStatic(function_foo, arguments, kNoArgumentNames); |
+ const Array& args = Array::Handle(Object::empty_array()); |
+ const Object& result = Object::Handle(DartEntry::InvokeStatic(function_foo, |
+ args)); |
EXPECT(!result.IsError()); |
} |