Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 8285ac3f3f5b98b1ce432bc00f5e4065fcf77189..39531c3dbc5cae3807f1d113863f62fa1e8c32bb 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -15825,7 +15825,7 @@ bool Instance::IsInstanceOf( |
ASSERT(!other.IsMalformed()); |
ASSERT(!other.IsMalbounded()); |
if (other.IsVoidType()) { |
- return true; |
+ return false; |
} |
Zone* zone = Thread::Current()->zone(); |
const Class& cls = Class::Handle(zone, clazz()); |