8293294: Remove dead code in Parse::check_interpreter_type

Reviewed-by: vlivanov, thartmann
This commit is contained in:
Matthijs Bijman 2022-12-01 15:57:09 +00:00 committed by Tobias Hartmann
parent 5459b1104f
commit 4899d78292

View File

@ -175,8 +175,6 @@ Node* Parse::check_interpreter_type(Node* l, const Type* type,
bad_type_exit->control()->add_req(bad_type_ctrl);
}
BasicType bt_l = _gvn.type(l)->basic_type();
BasicType bt_t = type->basic_type();
assert(_gvn.type(l)->higher_equal(type), "must constrain OSR typestate");
return l;
}