mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-11-26 14:49:15 +00:00
No more COPYVECTOR
This commit is contained in:
parent
2088769b8e
commit
e2704df129
@ -136,8 +136,8 @@ fillOutNamedLocationTypes p@(Program decls routines) =
|
|||||||
DELTA (resolve dest) val
|
DELTA (resolve dest) val
|
||||||
xform (SEI blk) =
|
xform (SEI blk) =
|
||||||
SEI (mapBlock xform blk)
|
SEI (mapBlock xform blk)
|
||||||
xform (COPYVECTOR src dest) =
|
xform (PUSH val blk) =
|
||||||
COPYVECTOR (resolve src) (resolve dest)
|
PUSH (resolve val) (mapBlock xform blk)
|
||||||
xform (COPYROUTINE name dest) =
|
xform (COPYROUTINE name dest) =
|
||||||
COPYROUTINE name (resolve dest)
|
COPYROUTINE name (resolve dest)
|
||||||
xform other =
|
xform other =
|
||||||
|
@ -78,7 +78,6 @@ data Instruction = COPY StorageLocation StorageLocation
|
|||||||
| DELTA StorageLocation DataValue
|
| DELTA StorageLocation DataValue
|
||||||
| SEI [Instruction]
|
| SEI [Instruction]
|
||||||
| PUSH StorageLocation [Instruction]
|
| PUSH StorageLocation [Instruction]
|
||||||
| COPYVECTOR StorageLocation StorageLocation
|
|
||||||
| COPYROUTINE RoutineName StorageLocation
|
| COPYROUTINE RoutineName StorageLocation
|
||||||
| NOP
|
| NOP
|
||||||
deriving (Show, Ord, Eq)
|
deriving (Show, Ord, Eq)
|
||||||
|
Loading…
Reference in New Issue
Block a user