- All Implemented Interfaces:
- WarpScriptStackFunction
public class ASREGS
extends NamedWarpScriptFunction
implements WarpScriptStackFunction
Modifies a Macro so the LOAD/STORE/RUN operations for the given variables are
replaced by use of registers.
Also converts LOAD/STORE/CSTORE/RUN used on register numbers to PUSHRx/POPRx/CPOPRx/RUNRx.
Optimization for STORE on lists is only done if the list contains only registers numbers
or NULL and is a list construction (MARK....ENDLIST STORE), not a list instance (!$a_list STORE).