- if(counting_profiler_p)
- {
- ctx->push(from_unsigned_cell((cell)w->counting_profiler->entry_point()));
- ctx->push(from_unsigned_cell((cell)w->counting_profiler + w->counting_profiler->size()));
- }
- else
- {
- ctx->push(from_unsigned_cell((cell)w->code->entry_point()));
- ctx->push(from_unsigned_cell((cell)w->code + w->code->size()));
- }
-}
-
-void factor_vm::update_word_entry_point(word *w)
-{
- if(counting_profiler_p && w->counting_profiler)
- w->entry_point = w->counting_profiler->entry_point();
- else
- w->entry_point = w->code->entry_point();
+ ctx->push(from_unsigned_cell((cell)w->entry_point));
+ ctx->push(from_unsigned_cell((cell)w->code() + w->code()->size()));