This commit is contained in:
2026-03-24 13:40:38 +00:00
parent d24533cc62
commit 929dcde0c6
9 changed files with 37 additions and 148 deletions
@@ -26,7 +26,7 @@ impl<'a> HostReturn<'a> {
self.stack.push(Value::Null);
}
pub fn push_gate(&mut self, g: usize) {
// Temporary: cast incoming gate to HeapRef index. Real allocator will provide proper handles.
// Temporary: cast incoming handle/HeapRef index. Real allocator will provide proper handles.
self.stack.push(Value::HeapRef(HeapRef(g as u32)));
}
pub fn push_string(&mut self, s: String) {