Created
June 11, 2011 16:46
-
-
Save anonymous/1020741 to your computer and use it in GitHub Desktop.
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/ops/perl6.ops b/src/ops/perl6.ops | |
index 44a041c..02ca019 100644 | |
--- a/src/ops/perl6.ops | |
+++ b/src/ops/perl6.ops | |
@@ -564,7 +564,8 @@ use of. Evil, but saves a prophash for every single code object. | |
*/ | |
inline op perl6_associate_sub_code_object(in PMC, in PMC) :base_core { | |
- if ($1->vtable->base_type == enum_class_Sub) { | |
+ if ($1->vtable->base_type == enum_class_Sub | |
+ || $1->vtable->base_type == enum_class_Coroutine) { | |
SETATTR_Sub_multi_signature(interp, $1, $2); | |
PARROT_GC_WRITE_BARRIER(interp, $1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment