Mercurial > hg > truffle
comparison src/cpu/x86/vm/c1_LIRGenerator_x86.cpp @ 628:7bb995fbd3c0
Merge
author | trims |
---|---|
date | Thu, 12 Mar 2009 18:16:36 -0700 |
parents | 98cb887364d3 |
children | cdb8b7c37ac1 |
comparison
equal
deleted
inserted
replaced
580:ce2272390558 | 628:7bb995fbd3c0 |
---|---|
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 } |