changeset 6136:e1635876b206

7174884: C1: failures after 7171890: assert(cur_state != NULL) failed: state_before must be set Reviewed-by: kvn
author twisti
date Wed, 06 Jun 2012 15:57:37 -0700
parents 8f37087fc13f
children 829ee34e7cbd
files src/share/vm/c1/c1_Canonicalizer.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Canonicalizer.cpp	Tue Jun 05 10:15:27 2012 +0200
+++ b/src/share/vm/c1/c1_Canonicalizer.cpp	Wed Jun 06 15:57:37 2012 -0700
@@ -466,7 +466,7 @@
       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);