8259049: Uninitialized variable after JDK-8257513

Reviewed-by: kvn, thartmann
This commit is contained in:
Christian Hagedorn 2021-01-05 09:54:18 +00:00
parent db6f39302b
commit 9f1516492c

View file

@ -150,7 +150,7 @@ bool ConstantTable::emit(CodeBuffer& cb) const {
"must be: %d == %d", (int)(constant_addr - _masm.code()->consts()->start()), (int)(con.offset()));
// Expand jump-table
address last_addr;
address last_addr = NULL;
for (uint j = 1; j < n->outcnt(); j++) {
last_addr = _masm.address_constant(dummy + j);
if (last_addr == NULL) {