| Index: runtime/vm/flow_graph_compiler_mips.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_mips.cc b/runtime/vm/flow_graph_compiler_mips.cc
|
| index f432acdeedf55f79e09bad7cef665230d36ba601..a8e408e31d93e40fc30e09c45b25aed365a26485 100644
|
| --- a/runtime/vm/flow_graph_compiler_mips.cc
|
| +++ b/runtime/vm/flow_graph_compiler_mips.cc
|
| @@ -1558,7 +1558,7 @@ int FlowGraphCompiler::EmitTestAndCallCheckCid(Label* next_label,
|
| int bias) {
|
| intptr_t cid_start = range.cid_start;
|
| intptr_t cid_end = range.cid_end;
|
| - if (cid_start == cid_end) {
|
| + if (range.IsSingleCid()) {
|
| __ BranchNotEqual(T2, Immediate(cid_start - bias), next_label);
|
| } else {
|
| __ AddImmediate(T2, T2, bias - cid_start);
|
|
|