inference count call_inline, fail on undefined index

This commit is contained in:
Mark Thom
2022-07-20 13:31:44 -06:00
parent 6b05ee5130
commit 0aec980aa8
3 changed files with 11 additions and 10 deletions

View File

@@ -166,15 +166,6 @@ impl CodeIndex {
}
}
#[inline(always)]
pub(crate) fn is_dynamic_undefined(&self) -> bool {
match self.0.tag() {
IndexPtrTag::DynamicUndefined => true,
_ => false,
}
}
pub(crate) fn local(&self) -> Option<usize> {
match self.0.tag() {
IndexPtrTag::Index => Some(self.0.p() as usize),