8324213: C1: There is no need for Canonicalizer to handle IfOp
Reviewed-by: dlong, chagedorn
This commit is contained in:
parent
628348d3e9
commit
7a300b63b5
@ -469,9 +469,11 @@ void Canonicalizer::do_CompareOp (CompareOp* x) {
|
||||
|
||||
|
||||
void Canonicalizer::do_IfOp(IfOp* x) {
|
||||
// Caution: do not use do_Op2(x) here for now since
|
||||
// we map the condition to the op for now!
|
||||
move_const_to_right(x);
|
||||
// Currently, Canonicalizer is only used by GraphBuilder,
|
||||
// and IfOp is not created by GraphBuilder but only later
|
||||
// when eliminating conditional expressions with CE_Eliminator,
|
||||
// so this method will not be called.
|
||||
ShouldNotReachHere();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user