aboutsummaryrefslogtreecommitdiff
path: root/ReplaceRefs.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ReplaceRefs.hs')
-rw-r--r--ReplaceRefs.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ReplaceRefs.hs b/ReplaceRefs.hs
index f9490ef..6e10c90 100644
--- a/ReplaceRefs.hs
+++ b/ReplaceRefs.hs
@@ -10,6 +10,7 @@ replaceRef = trans
replaceRefsIns :: Ref -> Ref -> IRIns -> IRIns
replaceRefsIns from to (IMov a b) = IMov (trans from to a) (trans from to b)
+replaceRefsIns from to (ILea a n) = ILea (trans from to a) n
replaceRefsIns from to (IStore a b) = IStore (trans from to a) (trans from to b)
replaceRefsIns from to (ILoad a b) = ILoad (trans from to a) (trans from to b)
replaceRefsIns from to (IAri at a b c) = IAri at (trans from to a) (trans from to b) (trans from to c)