Index: runtime/vm/simulator_dbc.cc |
diff --git a/runtime/vm/simulator_dbc.cc b/runtime/vm/simulator_dbc.cc |
index 97113005c255a0941ae5c07befed0d4999bc6d55..c25b5db917389da62781486405b4173675594e7d 100644 |
--- a/runtime/vm/simulator_dbc.cc |
+++ b/runtime/vm/simulator_dbc.cc |
@@ -2881,8 +2881,8 @@ RawObject* Simulator::Call(const Code& code, |
pc++; |
break; |
} |
- // The cids are sorted. |
- if (cid < desired_cid) { |
+ // The cids are sorted in descending order. |
+ if (cid > desired_cid) { |
break; |
} |
} |