Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp @ 1873:07a218de38cb
6992477: fix for 6991512 broke sparc barriers
Reviewed-by: kvn, iveresov
author | never |
---|---|
date | Fri, 15 Oct 2010 14:21:11 -0700 |
parents | c393f046f4c5 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1853:b98784e85f71 | 1873:07a218de38cb |
---|---|
662 LIRItem val (x->argument_at(3), this); // replace field with val if matches cmp | 662 LIRItem val (x->argument_at(3), this); // replace field with val if matches cmp |
663 | 663 |
664 // Use temps to avoid kills | 664 // Use temps to avoid kills |
665 LIR_Opr t1 = FrameMap::G1_opr; | 665 LIR_Opr t1 = FrameMap::G1_opr; |
666 LIR_Opr t2 = FrameMap::G3_opr; | 666 LIR_Opr t2 = FrameMap::G3_opr; |
667 LIR_Opr addr = (type == objectType) ? new_register(T_OBJECT) : new_pointer_register(); | 667 LIR_Opr addr = new_pointer_register(); |
668 | 668 |
669 // get address of field | 669 // get address of field |
670 obj.load_item(); | 670 obj.load_item(); |
671 offset.load_item(); | 671 offset.load_item(); |
672 cmp.load_item(); | 672 cmp.load_item(); |