Index: runtime/vm/code_generator_ia32_test.cc |
=================================================================== |
--- runtime/vm/code_generator_ia32_test.cc (revision 3862) |
+++ runtime/vm/code_generator_ia32_test.cc (working copy) |
@@ -485,8 +485,9 @@ |
CODEGEN_TEST_RAW_RUN(AllocateNewObjectCodegen, function) { |
GrowableArray<const Object*> arguments; |
const Array& kNoArgumentNames = Array::Handle(); |
- Instance& result = Instance::Handle(); |
+ Object& result = Object::Handle(); |
result = DartEntry::InvokeStatic(function, arguments, kNoArgumentNames); |
+ EXPECT(!result.IsError()); |
const Library& app_lib = Library::Handle( |
Isolate::Current()->object_store()->registered_libraries()); |
const Class& cls = Class::Handle( |