Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index ab75352d81f22d8edc3971658f64c7c101c35af2..71cd04489614d2c5095625e368445649df237ed3 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -2076,7 +2076,7 @@ RawArray* Class::OffsetToFieldMap() const { |
fields = cls.fields(); |
for (intptr_t i = 0; i < fields.Length(); ++i) { |
f ^= fields.At(i); |
- if (!f.is_static()) { |
+ if (f.is_instance()) { |
array.SetAt(f.Offset() >> kWordSizeLog2, f); |
} |
} |