Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 36989) |
| +++ runtime/vm/object.h (working copy) |
| @@ -3628,7 +3628,6 @@ |
| static const intptr_t kMaxElements = kSmiMax / kBytesPerElement; |
| static intptr_t InstanceSize() { |
| - ASSERT(sizeof(RawCode) == OFFSET_OF(RawCode, data_)); |
|
Ivan Posva
2014/06/04 15:53:14
There are too many things riding on the assertion
Florian Schneider
2014/06/06 09:13:03
Yes, this is fragile: InstanceSize(intptr_t len) n
|
| return 0; |
| } |
| static intptr_t InstanceSize(intptr_t len) { |