We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b351b5f commit 6f690a5Copy full SHA for 6f690a5
src/hotspot/share/ci/ciTypeFlow.cpp
@@ -404,11 +404,9 @@ const ciTypeFlow::StateVector* ciTypeFlow::get_start_state() {
404
state->push_translate(str.type());
405
}
406
// Set the rest of the locals to bottom.
407
- Cell cell = state->next_cell(state->tos());
408
- state->set_stack_size(0);
409
- int limit = state->limit_cell();
410
- for (; cell < limit; cell = state->next_cell(cell)) {
411
- state->set_type_at(cell, state->bottom_type());
+ assert(state->stack_size() <= 0, "stack size should not be strictly positive");
+ while (state->stack_size() < 0) {
+ state->push(state->bottom_type());
412
413
// Lock an object, if necessary.
414
state->set_monitor_count(method()->is_synchronized() ? 1 : 0);
0 commit comments