Mercurial > hg > truffle
diff src/cpu/x86/vm/assembler_x86_64.cpp @ 50:485d403e94e1
6452081: 3/4 Allow for Linux builds with Sun Studio Linux compilers
Summary: (for Serguei) Allow for Linux builds with Sun Studio Linux compilers
Reviewed-by: sspitsyn, ohair
author | dcubed |
---|---|
date | Wed, 12 Mar 2008 18:37:03 -0700 |
parents | a61af66fc99e |
children | d6fe2e4959d6 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86_64.cpp Wed Mar 12 18:09:34 2008 -0700 +++ b/src/cpu/x86/vm/assembler_x86_64.cpp Wed Mar 12 18:37:03 2008 -0700 @@ -1304,7 +1304,7 @@ emit_operand(src, dst); } -void Assembler::mov64(Register dst, int64_t imm64) { +void Assembler::mov64(Register dst, intptr_t imm64) { InstructionMark im(this); int encode = prefixq_and_encode(dst->encoding()); emit_byte(0xB8 | encode); @@ -1331,7 +1331,7 @@ emit_operand(dst, src); } -void Assembler::mov64(Address dst, int64_t imm32) { +void Assembler::mov64(Address dst, intptr_t imm32) { assert(is_simm32(imm32), "lost bits"); InstructionMark im(this); prefixq(dst);