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:
parent
4fd64312c8
commit
d16ab3b53e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user