mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7174884: C1: failures after 7171890: assert(cur_state != NULL) failed: state_before must be set
Reviewed-by: kvn
This commit is contained in:
parent
6d29429c4e
commit
36093c2bf6
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ void Canonicalizer::do_Intrinsic (Intrinsic* x) {
|
|||
if (t->is_klass()) {
|
||||
// substitute cls.isInstance(obj) of a constant Class into
|
||||
// an InstantOf instruction
|
||||
InstanceOf* i = new InstanceOf(t->as_klass(), x->argument_at(1), x->state());
|
||||
InstanceOf* i = new InstanceOf(t->as_klass(), x->argument_at(1), x->state_before());
|
||||
set_canonical(i);
|
||||
// and try to canonicalize even further
|
||||
do_InstanceOf(i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue