We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e5c46f commit d2f7759Copy full SHA for d2f7759
src/pmc/dispatchersub.pmc
@@ -5,6 +5,12 @@ pmclass DispatcherSub extends Sub auto_attrs dynpmc group nqp {
5
ATTR PMC *dispatchees; /* Used if this code object is a dispatcher. */
6
ATTR PMC *dispatch_cache; /* Holds a (multi-)dispatch cache if needed. */
7
8
+ VTABLE void init() {
9
+ SUPER();
10
+ SETATTR_DispatcherSub_dispatchees(interp, SELF, PMCNULL);
11
+ SETATTR_DispatcherSub_dispatch_cache(interp, SELF, PMCNULL);
12
+ }
13
+
14
VTABLE void mark() {
15
PMC *dispatchees;
16
SUPER();
0 commit comments