| Index: runtime/vm/source_report.cc
|
| diff --git a/runtime/vm/source_report.cc b/runtime/vm/source_report.cc
|
| index cfc79be852d3c32ab485d907387a48f3fb9cb142..ac162492f96c2759da5fca81917fbf09ed17224c 100644
|
| --- a/runtime/vm/source_report.cc
|
| +++ b/runtime/vm/source_report.cc
|
| @@ -146,7 +146,7 @@ void SourceReport::PrintCallSitesData(JSONObject* jsobj,
|
| while (iter.MoveNext()) {
|
| HANDLESCOPE(thread());
|
| const ICData* ic_data = (*ic_data_array)[iter.DeoptId()];
|
| - if (!ic_data->IsNull()) {
|
| + if (ic_data != NULL) {
|
| const TokenPosition token_pos = iter.TokenPos();
|
| if ((token_pos < begin_pos) || (token_pos > end_pos)) {
|
| // Does not correspond to a valid source position.
|
| @@ -187,7 +187,7 @@ void SourceReport::PrintCoverageData(JSONObject* jsobj,
|
| while (iter.MoveNext()) {
|
| HANDLESCOPE(thread());
|
| const ICData* ic_data = (*ic_data_array)[iter.DeoptId()];
|
| - if (!ic_data->IsNull()) {
|
| + if (ic_data != NULL) {
|
| const TokenPosition token_pos = iter.TokenPos();
|
| if ((token_pos < begin_pos) || (token_pos > end_pos)) {
|
| // Does not correspond to a valid source position.
|
|
|