varargs: make printf working
[mate.git] / Mate / BasicBlocks.hs
index 229325d6a36423514d95f29dee312746a215854b..bde2697d67634e4a896813633097dde1a276eb7d 100644 (file)
@@ -169,8 +169,10 @@ 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
       RETURN -> notarget
       _ -> ((off, Nothing), x):next
     where