synchronize offset table growth with the borrowing of offset pointers
This commit is contained in:
@@ -253,7 +253,7 @@ impl Machine {
|
||||
) -> std::process::ExitCode {
|
||||
if let Some(module) = self.indices.modules.get(&module_name) {
|
||||
if let Some(code_idx) = module.code_dir.get(&key) {
|
||||
let index_ptr = self.machine_st.arena.code_index_tbl.lookup(code_idx.into());
|
||||
let index_ptr = *self.machine_st.arena.code_index_tbl.lookup(code_idx.into());
|
||||
let p = index_ptr.local().unwrap();
|
||||
|
||||
// Leave a halting choice point to backtrack to in case the predicate fails or throws.
|
||||
|
||||
Reference in New Issue
Block a user