mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Reduce visibility.
This commit is contained in:
parent
bfef2611d9
commit
badd8cc8f4
@ -262,7 +262,7 @@ impl<'ll> CodegenCx<'ll, '_> {
|
||||
}
|
||||
|
||||
#[instrument(level = "debug", skip(self, llty))]
|
||||
pub(crate) fn get_static_inner(&self, def_id: DefId, llty: &'ll Type) -> &'ll Value {
|
||||
fn get_static_inner(&self, def_id: DefId, llty: &'ll Type) -> &'ll Value {
|
||||
let instance = Instance::mono(self.tcx, def_id);
|
||||
if let Some(&g) = self.instances.borrow().get(&instance) {
|
||||
trace!("used cached value");
|
||||
|
Loading…
Reference in New Issue
Block a user