Reduce visibility.
This commit is contained in:
parent
bfef2611d9
commit
badd8cc8f4
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ impl<'ll> CodegenCx<'ll, '_> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument(level = "debug", skip(self, llty))]
|
#[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);
|
let instance = Instance::mono(self.tcx, def_id);
|
||||||
if let Some(&g) = self.instances.borrow().get(&instance) {
|
if let Some(&g) = self.instances.borrow().get(&instance) {
|
||||||
trace!("used cached value");
|
trace!("used cached value");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue