src/share/vm/c1/c1_Canonicalizer.cpp

changeset 3839
e1635876b206
parent 3838
8f37087fc13f
child 3969
1d7922586cf6
     1.1 --- a/src/share/vm/c1/c1_Canonicalizer.cpp	Tue Jun 05 10:15:27 2012 +0200
     1.2 +++ b/src/share/vm/c1/c1_Canonicalizer.cpp	Wed Jun 06 15:57:37 2012 -0700
     1.3 @@ -466,7 +466,7 @@
     1.4        if (t->is_klass()) {
     1.5          // substitute cls.isInstance(obj) of a constant Class into
     1.6          // an InstantOf instruction
     1.7 -        InstanceOf* i = new InstanceOf(t->as_klass(), x->argument_at(1), x->state());
     1.8 +        InstanceOf* i = new InstanceOf(t->as_klass(), x->argument_at(1), x->state_before());
     1.9          set_canonical(i);
    1.10          // and try to canonicalize even further
    1.11          do_InstanceOf(i);

mercurial