diff --git a/src/share/vm/c1/c1_Canonicalizer.cpp b/src/share/vm/c1/c1_Canonicalizer.cpp index ba9f324d58502f0f3d72cfc0ead1943b6ba736ef..4158ce5cb3b2d0b6b92d0ccf9eb58c643015b942 100644 --- a/src/share/vm/c1/c1_Canonicalizer.cpp +++ b/src/share/vm/c1/c1_Canonicalizer.cpp @@ -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);