X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=vm%2Fcode_heap.cpp;h=f46891f7b8268164f0de1a331df12f2e267469b8;hp=c81cef10e194750fa1ecaf114aaadb64259a146d;hb=c31530caecbdb96384603fd11ad5a356897474f0;hpb=139c9ca38c537c8db371944cd04d13118019363f diff --git a/vm/code_heap.cpp b/vm/code_heap.cpp index c81cef10e1..f46891f7b8 100755 --- a/vm/code_heap.cpp +++ b/vm/code_heap.cpp @@ -178,15 +178,13 @@ void factor_vm::primitive_modify_code_heap() parameters, literals); - word->code = compiled; + word->entry_point = compiled->entry_point(); } break; default: critical_error("Expected a quotation or an array",data.value()); break; } - - update_word_entry_point(word.untagged()); } if(update_existing_words)