diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc index 68004fb5e906..e5c09b06e3ed 100644 --- a/runtime/vm/flow_graph_compiler_x64.cc +++ b/runtime/vm/flow_graph_compiler_x64.cc @@ -1448,7 +1448,7 @@ Condition FlowGraphCompiler::EmitEqualityRegRegCompare( __ popq(right); __ popq(left); } else { - __ cmpl(left, right); + __ CompareRegisters(left, right); } return EQUAL; }