Chromium Code Reviews| Index: runtime/vm/raw_object.cc |
| =================================================================== |
| --- runtime/vm/raw_object.cc (revision 20344) |
| +++ runtime/vm/raw_object.cc (working copy) |
| @@ -293,7 +293,8 @@ |
| // Read the necessary data out of the class before visting the class itself. |
| intptr_t class_id = GetClassId(); |
| - if (class_id < kNumPredefinedCids) { |
| + if (class_id < kNumPredefinedCids && |
| + !RawObject::IsTypedDataViewClassId(class_id)) { |
|
Ivan Posva
2013/03/22 04:50:01
We should not add an extra test into this time cri
siva
2013/03/25 17:20:35
I have removed this extra check and instead moved
|
| switch (class_id) { |
| #define RAW_VISITPOINTERS(clazz) \ |
| case clazz::kClassId: { \ |