Ticket #1215 (closed cage: fixed)
Factor out Duplicated Code in vivify/fetch opcodes
Reported by: | chromatic | Owned by: | soh_cah_toa |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | core | Version: | 1.7.0 |
Severity: | low | Keywords: | ops newbie |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.