--- a/src/hotspot/share/c1/c1_LIRAssembler.cpp Mon Sep 24 13:51:22 2018 -0700
+++ b/src/hotspot/share/c1/c1_LIRAssembler.cpp Mon Sep 24 16:37:28 2018 -0700
@@ -554,10 +554,6 @@
pop(op->in_opr());
break;
- case lir_neg:
- negate(op->in_opr(), op->result_opr());
- break;
-
case lir_leal:
leal(op->in_opr(), op->result_opr(), op->patch_code(), op->info());
break;
@@ -750,6 +746,10 @@
intrinsic_op(op->code(), op->in_opr1(), op->in_opr2(), op->result_opr(), op);
break;
+ case lir_neg:
+ negate(op->in_opr1(), op->result_opr(), op->in_opr2());
+ break;
+
case lir_logic_and:
case lir_logic_or:
case lir_logic_xor: