6972540: sun/nio/ch/SocketChannelImpl compilation crashed when executing CompileTheWorld

Reviewed-by: kvn
This commit is contained in:
Tom Rodriguez 2010-09-22 21:10:46 -07:00
parent f4b4eae617
commit 16efe7ce5c
4 changed files with 44 additions and 5 deletions

View file

@ -936,7 +936,6 @@ LIR_Opr LIRGenerator::new_register(BasicType type) {
}
}
_virtual_register_number += 1;
if (type == T_ADDRESS) type = T_INT;
return LIR_OprFact::virtual_register(vreg, type);
}
@ -2829,4 +2828,3 @@ LIR_Opr LIRGenerator::call_runtime(BasicTypeArray* signature, LIRItemList* args,
}
return result;
}