Skip to content

Instantly share code, notes, and snippets.

@bacek
Created March 4, 2012 08:03
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 bacek/1971209 to your computer and use it in GitHub Desktop.
Save bacek/1971209 to your computer and use it in GitHub Desktop.
Patch for rakudo to work on modern parrot
diff --git a/src/binder/multidispatch.c b/src/binder/multidispatch.c
index b796a35..ee915c4 100644
--- a/src/binder/multidispatch.c
+++ b/src/binder/multidispatch.c
@@ -571,7 +571,7 @@ static PMC* find_best_candidate(PARROT_INTERP, Rakudo_md_candidate_info **candid
opcode_t *where;
INTVAL bind_check_result;
Rakudo_Code *code_obj = (Rakudo_Code *)PMC_data(possibles[i]->sub);
- cthunk = VTABLE_getprop(interp, code_obj->_do,
+ cthunk = Parrot_pmc_getprop(interp, code_obj->_do,
Parrot_str_new(interp, "COMPILER_THUNK", 0));
if (!PMC_IS_NULL(cthunk)) {
/* We need to do the tie-break on something not yet compiled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment