Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created March 24, 2016 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/0e9274240cb928c31cfd to your computer and use it in GitHub Desktop.
Save jnthn/0e9274240cb928c31cfd to your computer and use it in GitHub Desktop.
diff --git a/src/6model/bootstrap.c b/src/6model/bootstrap.c
index 9e48039..7894f8b 100644
--- a/src/6model/bootstrap.c
+++ b/src/6model/bootstrap.c
@@ -699,5 +699,5 @@ void MVM_6model_bootstrap(MVMThreadContext *tc) {
setup_core_sc(tc);
MVM_6model_containers_setup(tc);
- MVM_intcache_for(tc, tc->instance->boot_types.BOOTInt);
+ //MVM_intcache_for(tc, tc->instance->boot_types.BOOTInt);
}
diff --git a/src/core/hll.c b/src/core/hll.c
index 538473a..7955058 100644
--- a/src/core/hll.c
+++ b/src/core/hll.c
@@ -139,7 +139,7 @@ MVMObject * MVM_hll_set_config(MVMThreadContext *tc, MVMString *name, MVMObject
config, MVM_STORAGE_SPEC_BP_STR, MVM_NATIVEREF_MULTIDIM);
});
- MVM_intcache_for(tc, config->int_box_type);
+ //MVM_intcache_for(tc, config->int_box_type);
return config_hash;
}
diff --git a/src/core/intcache.c b/src/core/intcache.c
index 987a86c..edd0bc1 100644
--- a/src/core/intcache.c
+++ b/src/core/intcache.c
@@ -37,7 +37,7 @@ MVMObject *MVM_intcache_get(MVMThreadContext *tc, MVMObject *type, MVMint64 valu
int type_index;
int right_slot = -1;
- if (value < -1 || value >= 15)
+ //if (value < -1 || value >= 15)
return NULL;
for (type_index = 0; type_index < 4; type_index++) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment