Chromium Code Reviews| Index: runtime/vm/object.cc |
| =================================================================== |
| --- runtime/vm/object.cc (revision 10092) |
| +++ runtime/vm/object.cc (working copy) |
| @@ -1494,9 +1494,6 @@ |
| for (intptr_t i = 0; i < len; i++) { |
| field ^= value.At(i); |
| field.set_owner(*this); |
| - // Only static const fields may contain the Object::sentinel value. |
| - ASSERT(!(field.is_static() && field.is_final()) || |
| - (field.value() == Object::sentinel())); |
|
regis
2012/07/31 23:19:54
Is there any way you can relax this assert rather
hausner
2012/07/31 23:34:03
I tried this at first, but it is actually impossib
|
| } |
| // The value of static fields is already initialized to null. |
| StorePointer(&raw_ptr()->fields_, value.raw()); |