We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44fe95e commit eafbf6eCopy full SHA for eafbf6e
1 file changed
zjit/src/hir.rs
@@ -1165,7 +1165,8 @@ impl Insn {
1165
Insn::GetConstantPath { .. } => effects::Any,
1166
Insn::IsBlockGiven { .. } => Effect::read_write(abstract_heaps::Other, abstract_heaps::Empty),
1167
Insn::FixnumBitCheck { .. } => effects::Empty,
1168
- Insn::IsA { .. } => effects::Empty,
+ // IsA needs to read the class of the value and traverse the class hierarchy, which we model as reading from Memory.
1169
+ Insn::IsA { .. } => Effect::read_write(abstract_heaps::Memory, abstract_heaps::Empty),
1170
Insn::GetGlobal { .. } => effects::Any,
1171
Insn::SetGlobal { .. } => effects::Any,
1172
Insn::GetIvar { .. } => effects::Any,
0 commit comments