Chromium Code Reviews| Index: runtime/vm/object.cc |
| =================================================================== |
| --- runtime/vm/object.cc (revision 33605) |
| +++ runtime/vm/object.cc (working copy) |
| @@ -10855,7 +10855,7 @@ |
| intptr_t ICData::NumberOfChecks() const { |
| // Do not count the sentinel; |
| - return (Array::Handle(ic_data()).Length() / TestEntryLength()) - 1; |
| + return (Smi::Value(ic_data()->ptr()->length_) / TestEntryLength()) - 1; |
| } |