codegen: implement IF_ACMP
[mate.git] / Mate / BasicBlocks.hs
index c5d974330e42129f7f11fc9d2901365590e99915..bde2697d67634e4a896813633097dde1a276eb7d 100644 (file)
@@ -169,6 +169,7 @@ calculateInstructionOffset = cio' (0, Nothing)
   cio' (off,_) (x:xs) = case x of
       IF _ w16 -> twotargets w16
       IF_ICMP _ w16 -> twotargets w16
+      IF_ACMP _ w16 -> twotargets w16
       GOTO w16 -> onetarget w16
       IRETURN -> notarget
       ARETURN -> notarget