comparison src/share/vm/c1/c1_LIRGenerator.cpp @ 304:dc7f315e41f7

5108146: Merge i486 and amd64 cpu directories 6459804: Want client (c1) compiler for x86_64 (amd64) for faster start-up Reviewed-by: kvn
author never
date Wed, 27 Aug 2008 00:21:55 -0700
parents a61af66fc99e
children 9ee9cf798b59 f8199438385b
comparison
equal deleted inserted replaced
303:fa4d1d240383 304:dc7f315e41f7
1715 LIR_Address* addr; 1715 LIR_Address* addr;
1716 if (index_op->is_constant()) { 1716 if (index_op->is_constant()) {
1717 assert(log2_scale == 0, "must not have a scale"); 1717 assert(log2_scale == 0, "must not have a scale");
1718 addr = new LIR_Address(base_op, index_op->as_jint(), dst_type); 1718 addr = new LIR_Address(base_op, index_op->as_jint(), dst_type);
1719 } else { 1719 } else {
1720 #ifdef IA32 1720 #ifdef X86
1721 addr = new LIR_Address(base_op, index_op, LIR_Address::Scale(log2_scale), 0, dst_type); 1721 addr = new LIR_Address(base_op, index_op, LIR_Address::Scale(log2_scale), 0, dst_type);
1722 #else 1722 #else
1723 if (index_op->is_illegal() || log2_scale == 0) { 1723 if (index_op->is_illegal() || log2_scale == 0) {
1724 addr = new LIR_Address(base_op, index_op, dst_type); 1724 addr = new LIR_Address(base_op, index_op, dst_type);
1725 } else { 1725 } else {