detect External indices more generally in internalize_constant (#2395)
This commit is contained in:
@@ -1017,6 +1017,13 @@ fn generate_instruction_preface() -> TokenStream {
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_external(&self) -> bool {
|
||||
matches!(
|
||||
self,
|
||||
IndexingCodePtr::External(_) | IndexingCodePtr::DynamicExternal(_)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
impl IndexingInstruction {
|
||||
|
||||
Reference in New Issue
Block a user