codegen: implement IF_ACMP
[mate.git] / Mate / X86CodeGen.hs
index 15616f59007fbadab8693327488b13dcb16c5092..9fc57567fd963ced2185cee14d289f0ce6853472 100644 (file)
@@ -294,6 +294,7 @@ emitFromBB method cls hmap =  do
     emit (IINC x imm) = do
         add (Disp (cArgs x), ebp) (s8_w32 imm)
 
+    emit (IF_ACMP cond x) = emit (IF_ICMP cond x)
     emit (IF_ICMP cond _) = do
         pop eax -- value2
         pop ebx -- value1