index Constant::Usize (#355)

This commit is contained in:
Mark Thom
2020-04-18 14:16:40 -06:00
parent 3f971174e4
commit 1ad4ce9822
2 changed files with 37 additions and 0 deletions
+3
View File
@@ -283,6 +283,9 @@ impl Addr {
None
}
}
&Addr::Usize(n) => {
Some(Constant::Usize(n))
}
_ => {
None
}