Skip to content

Commit 5e5f0b6

Browse files
committed
added pub in alloc vm
1 parent 3c912a2 commit 5e5f0b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl VMState {
9494
}
9595
}
9696

97-
fn alloc(&mut self, val: HeapObj) -> Value {
97+
pub fn alloc(&mut self, val: HeapObj) -> Value {
9898
self.gc
9999
.alloc(val, &self.stack, &self.globals[self.current_frame.module])
100100
}

0 commit comments

Comments
 (0)