mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-08 14:08:48 +00: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
@ -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…
x
Reference in New Issue
Block a user