Index: runtime/vm/code_generator_ia32_test.cc |
=================================================================== |
--- runtime/vm/code_generator_ia32_test.cc (revision 3821) |
+++ runtime/vm/code_generator_ia32_test.cc (working copy) |
@@ -485,9 +485,8 @@ |
CODEGEN_TEST_RAW_RUN(AllocateNewObjectCodegen, function) { |
GrowableArray<const Object*> arguments; |
const Array& kNoArgumentNames = Array::Handle(); |
- Object& result = Object::Handle(); |
+ Instance& result = Instance::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( |