fn postprocess_fix_1_label(&self, val: LTerm) -> Word {
    // Convert from LTerm smallint to integer and then to labelid
    let unfixed = val.small_get_s() as Word;

    // Zero label id means no location, so we will store NIL [] there
    if unfixed > 0 {
      let unfixed_l = LabelId(unfixed);

      // Lookup the label. Crash here if bad label.
      let dst_offset = self.labels[&unfixed_l];

      // Update code cell with special label value
      self.create_jump_destination(dst_offset)
    } else {
      // Update code cell with no-value
      nil().raw()
    }
  }
/// Helper for `postprocess_fix_label`, takes a word from code memory or from
/// a jump table, resolves as if it was a label index, and returns a value
/// to be put back into memory.
Helper for `postprocess_fix_label`, takes a word from code memory or from
a jump table, resolves as if it was a label index, and returns a value
to be put back into memory.
Helper for ` postprocess_fix_label ` takes a word from code memory or from a jump table resolves as if it was a label index and returns a value to be put back into memory .
fn postprocess_fix_1_label(&self, val: LTerm) -> Word {
    // Convert from LTerm smallint to integer and then to labelid
    let unfixed = val.small_get_s() as Word;
    // Zero label id means no location, so we will store NIL [] there
    if unfixed > 0 {
      let unfixed_l = LabelId(unfixed);
      // Lookup the label. Crash here if bad label.
      let dst_offset = self.labels[&unfixed_l];
      // Update code cell with special label value
      self.create_jump_destination(dst_offset)
    } else {
      // Update code cell with no-value
      nil().raw()
    }
  }
fn postprocess_fix_1_label ( & self , val : LTerm ) -> Word { // Convert from LTerm smallint to integer and then to labelid let unfixed = val . small_get_s ( ) as Word ; // Zero label id means no location, so we will store NIL [] there if unfixed > 0 { let unfixed_l = LabelId ( unfixed ) ; // Lookup the label. Crash here if bad label. let dst_offset = self . labels [ & unfixed_l ] ; // Update code cell with special label value self . create_jump_destination ( dst_offset ) } else { // Update code cell with no-value nil ( ) . raw ( ) } }
Helper for `postprocess_fix_label`, takes a word from code memory or from
a jump table, resolves as if it was a label index, and returns a value
to be put back into memory.
Helper for ` postprocess_fix_label ` takes a word from code memory or from a jump table resolves as if it was a label index and returns a value to be put back into memory .
&self
val
LTerm