#1215: Factor out Duplicated Code in vivify/fetch opcodes
-----------------------+----------------------------------------------------
Reporter: chromatic | Owner: chromatic
Type: cage | Status: new
Priority: minor | Milestone:
Component: core | Version: 1.7.0
Severity: low | Keywords: ops
Lang: | Patch:
Platform: all |
-----------------------+----------------------------------------------------
The fetch and vivify opcodes in src/ops/experimental.ops can share almost
all of their bodies between each other (if not between both types of ops
themselves). We should extract the similar code into a static function or
two in the PREAMBLE section of the experimental.ops file.
I'll do this in a day or two if no one beats me to it. In theory, we can
do this in the PREAMBLE. I haven't seen it done yet, however.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1215>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets