}
void callback_heap::update(code_block* stub) {
- word* w = (word*)UNTAG(stub->owner);
+ word* w = untag<word>(stub->owner);
store_callback_operand(stub, 1, w->entry_point);
stub->flush_icache();
}
void factor_vm::primitive_callback() {
cell return_rewind = to_cell(ctx->pop());
tagged<word> w(ctx->pop());
- w.untag_check(this);
+ check_tagged(w);
cell func = callbacks->add(w.value(), return_rewind)->entry_point();
CODE_TO_FUNCTION_POINTER_CALLBACK(this, func);