mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 09:04:41 +02:00
8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
Reviewed-by: stuefe, coleenp, roland
This commit is contained in:
parent
f21d1afd70
commit
83b3b21342
40 changed files with 129 additions and 124 deletions
|
@ -73,8 +73,8 @@ public:
|
|||
|
||||
// Constructors
|
||||
OopMapValue () { set_value(0); set_content_reg(VMRegImpl::Bad()); }
|
||||
OopMapValue (VMReg reg, oop_types t) { set_reg_type(reg,t); }
|
||||
OopMapValue (VMReg reg, oop_types t, VMReg reg2) { set_reg_type(reg,t); set_content_reg(reg2); }
|
||||
OopMapValue (VMReg reg, oop_types t) { set_reg_type(reg, t); set_content_reg(VMRegImpl::Bad()); }
|
||||
OopMapValue (VMReg reg, oop_types t, VMReg reg2) { set_reg_type(reg, t); set_content_reg(reg2); }
|
||||
OopMapValue (CompressedReadStream* stream) { read_from(stream); }
|
||||
|
||||
// Archiving
|
||||
|
@ -87,7 +87,7 @@ public:
|
|||
|
||||
void read_from(CompressedReadStream* stream) {
|
||||
set_value(stream->read_int());
|
||||
if(is_callee_saved() || is_derived_oop()) {
|
||||
if (is_callee_saved() || is_derived_oop()) {
|
||||
set_content_reg(VMRegImpl::as_VMReg(stream->read_int(), true));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue