Luke Palmer writes: > ... > > goto NEXT(); > @@ -84,6 +90,19 @@ > $1->vtable->init_pmc_props(interpreter, $1, $3, $4); > goto NEXT(); > } > +# }
^^^^^ Don't mind that. I thought I saw an extra one, and commented it out to make sure I wasn't being stupid. Wasn't, and forgot to uncomment. Luke > + > +op new_noinit(out PMC, in INT) { > + if ($2 <= 0 || $2 >= enum_class_max) { > + internal_exception(1, "Illegal PMC enum (%d) in new\n", (int)$2); > + } > + $1 = pmc_new_noinit(interpreter, $2); > + goto NEXT(); > +} > + > +op init(in PMC) { > + $1->vtable->init(interpreter, $1); > + goto NEXT(); > } > > ########################################