projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
codegen: implement IF_ACMP
[mate.git]
/
Mate
/
BasicBlocks.hs
diff --git
a/Mate/BasicBlocks.hs
b/Mate/BasicBlocks.hs
index c5d974330e42129f7f11fc9d2901365590e99915..bde2697d67634e4a896813633097dde1a276eb7d 100644
(file)
--- a/
Mate/BasicBlocks.hs
+++ b/
Mate/BasicBlocks.hs
@@
-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