Modifying constructor for inst structures.
(change-inst x [:mnemonic <mnemonic>] [:opcode <opcode>] [:operands <operands>] [:fn <fn>] [:excep <excep>])
This is an often useful alternative to make-inst.
We construct a new inst structure that is a copy of
This is an ordinary
Macro:
(defmacro change-inst (x &rest args) (std::change-aggregate 'inst x args '((:mnemonic . inst->mnemonic) (:opcode . inst->opcode) (:operands . inst->operands) (:fn . inst->fn) (:excep . inst->excep)) 'change-inst 'remake-inst))