提交 c39f9254 编写于 作者: T twisti

7174884: C1: failures after 7171890: assert(cur_state != NULL) failed: state_before must be set

Reviewed-by: kvn
上级 4e75f33b
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册