Skip to content

Commit

Permalink
EmitEqualityRegRegCompare on x64 must use cmpq not cmpl.
Browse files Browse the repository at this point in the history
R=fschneider@google.com
BUG=

Review URL: https://codereview.chromium.org/1673253002 .
  • Loading branch information
mraleph committed Feb 8, 2016
1 parent 869caf0 commit 834b3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/vm/flow_graph_compiler_x64.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,7 @@ Condition FlowGraphCompiler::EmitEqualityRegRegCompare(
__ popq(right);
__ popq(left);
} else {
__ cmpl(left, right);
__ CompareRegisters(left, right);
}
return EQUAL;
}
Expand Down

0 comments on commit 834b3f0

Please sign in to comment.