VM: init_inline_caching is not needed

char-rename
Björn Lindqvist 2016-08-19 02:58:19 +02:00
parent 4738824fb2
commit 0a5f1689e1
3 changed files with 1 additions and 4 deletions

View File

@ -72,7 +72,7 @@ void factor_vm::init_factor(vm_parameters* p) {
callbacks = new callback_heap(p->callback_size, this);
load_image(p);
init_c_io();
init_inline_caching((int)p->max_pic_size);
max_pic_size = (int)p->max_pic_size;
special_objects[OBJ_CELL_SIZE] = tag_fixnum(sizeof(cell));
special_objects[OBJ_ARGS] = false_object;
special_objects[OBJ_EMBEDDED] = false_object;

View File

@ -2,8 +2,6 @@
namespace factor {
void factor_vm::init_inline_caching(int max_size) { max_pic_size = max_size; }
void factor_vm::deallocate_inline_cache(cell return_address) {
/* Find the call target. */
void* old_entry_point = get_call_target(return_address);

View File

@ -664,7 +664,6 @@ struct factor_vm {
void primitive_dispatch_stats();
/* inline cache */
void init_inline_caching(int max_size);
void deallocate_inline_cache(cell return_address);
void update_pic_count(cell type);
code_block* compile_inline_cache(fixnum index, cell generic_word_,