Index: runtime/vm/bootstrap_nocore.cc |
diff --git a/runtime/vm/bootstrap_nocore.cc b/runtime/vm/bootstrap_nocore.cc |
index ba5aff8af032059cfb42b500d5d94b87b4597d82..5dc37b0dbdd06540536a4ef965bdac30022dd1e6 100644 |
--- a/runtime/vm/bootstrap_nocore.cc |
+++ b/runtime/vm/bootstrap_nocore.cc |
@@ -49,7 +49,7 @@ void Finish(Thread* thread, bool from_kernel) { |
#if defined(DEBUG) |
// Verify that closure field offsets are identical in Dart and C++. |
const Array& fields = Array::Handle(zone, cls.fields()); |
- ASSERT(fields.Length() == 5); |
+ ASSERT(fields.Length() == 4); |
Field& field = Field::Handle(zone); |
field ^= fields.At(0); |
ASSERT(field.Offset() == Closure::instantiator_type_arguments_offset()); |
@@ -59,8 +59,6 @@ void Finish(Thread* thread, bool from_kernel) { |
ASSERT(field.Offset() == Closure::function_offset()); |
field ^= fields.At(3); |
ASSERT(field.Offset() == Closure::context_offset()); |
- field ^= fields.At(4); |
- ASSERT(field.Offset() == Closure::hash_offset()); |
#endif // defined(DEBUG) |
// Eagerly compile Bool class, bool constants are used from within compiler. |