index Constant::Usize (#355)

This commit is contained in:
Mark Thom
2020-04-15 14:11:45 -06:00
parent 3f971174e4
commit 1ad4ce9822
2 changed files with 37 additions and 0 deletions

View File

@@ -283,6 +283,9 @@ impl Addr {
None
}
}
&Addr::Usize(n) => {
Some(Constant::Usize(n))
}
_ => {
None
}