mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
un-pub function
This commit is contained in:
parent
05ef6fdeb7
commit
1d8a475ac6
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ impl<'ctx> PointerToRefcount<'ctx> {
|
|||
.build_int_compare(IntPredicate::EQ, current, one, "is_one")
|
||||
}
|
||||
|
||||
pub fn get_refcount<'a, 'env>(&self, env: &Env<'a, 'ctx, 'env>) -> IntValue<'ctx> {
|
||||
fn get_refcount<'a, 'env>(&self, env: &Env<'a, 'ctx, 'env>) -> IntValue<'ctx> {
|
||||
env.builder
|
||||
.build_load(self.value, "get_refcount")
|
||||
.into_int_value()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue