7160539: JDeveloper crashes on 64-bit Windows

X64 C1 needs to zero upper 32bits when doing l2i conversion

Reviewed-by: never, kvn
This commit is contained in:
Igor Veresov 2012-04-11 19:15:46 -07:00
parent 4fd64312c8
commit d16ab3b53e

View File

@ -1462,7 +1462,11 @@ void LIR_Assembler::emit_opConvert(LIR_OpConvert* op) {
break;
case Bytecodes::_l2i:
#ifdef _LP64
__ movl(dest->as_register(), src->as_register_lo());
#else
move_regs(src->as_register_lo(), dest->as_register());
#endif
break;
case Bytecodes::_i2b: