Created
March 4, 2012 08:03
-
-
Save bacek/1971209 to your computer and use it in GitHub Desktop.
Patch for rakudo to work on modern parrot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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