Mercurial > hg > truffle
comparison src/cpu/sparc/vm/sharedRuntime_sparc.cpp @ 4114:6729bbc1fcd6
7003454: order constants in constant table by number of references in code
Reviewed-by: kvn, never, bdelsart
author | twisti |
---|---|
date | Wed, 16 Nov 2011 01:39:50 -0800 |
parents | 3d42f82cd811 |
children | 0382d2b469b2 |
comparison
equal
deleted
inserted
replaced
4113:8c57262447d3 | 4114:6729bbc1fcd6 |
---|---|
765 | 765 |
766 #ifdef _LP64 | 766 #ifdef _LP64 |
767 // In the 64bit build because of wider slots and STACKBIAS we can run | 767 // In the 64bit build because of wider slots and STACKBIAS we can run |
768 // out of bits in the displacement to do loads and stores. Use g3 as | 768 // out of bits in the displacement to do loads and stores. Use g3 as |
769 // temporary displacement. | 769 // temporary displacement. |
770 if (! __ is_simm13(extraspace)) { | 770 if (!Assembler::is_simm13(extraspace)) { |
771 __ set(extraspace, G3_scratch); | 771 __ set(extraspace, G3_scratch); |
772 __ sub(SP, G3_scratch, SP); | 772 __ sub(SP, G3_scratch, SP); |
773 } else { | 773 } else { |
774 __ sub(SP, extraspace, SP); | 774 __ sub(SP, extraspace, SP); |
775 } | 775 } |