hotspot/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp
changeset 2154 72a9b7284ccf
parent 2131 98f9cef66a34
child 3688 22b55d147bc1
equal deleted inserted replaced
2106:ec595a5e793e 2154:72a9b7284ccf
   499     // missing test if instr is commutative and if we should swap
   499     // missing test if instr is commutative and if we should swap
   500     LIRItem left(x->x(), this);
   500     LIRItem left(x->x(), this);
   501     LIRItem right(x->y(), this);
   501     LIRItem right(x->y(), this);
   502 
   502 
   503     left.load_item();
   503     left.load_item();
   504     // dont load constants to save register
   504     // don't load constants to save register
   505     right.load_nonconstant();
   505     right.load_nonconstant();
   506     rlock_result(x);
   506     rlock_result(x);
   507     arithmetic_op_long(x->op(), x->operand(), left.result(), right.result(), NULL);
   507     arithmetic_op_long(x->op(), x->operand(), left.result(), right.result(), NULL);
   508   }
   508   }
   509 }
   509 }