src/cpu/x86/vm/c1_LIRGenerator_x86.cpp

changeset 1040
98cb887364d3
parent 797
f8199438385b
child 1368
cdb8b7c37ac1
equal deleted inserted replaced
1039:ec59443af135 1040:98cb887364d3
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 }

mercurial