@@ -348,6 +348,8 @@ where
348348 Ceil ( Operation < ' func , M , F , operation:: UnaryOp > ) ,
349349 Ftrunc ( Operation < ' func , M , F , operation:: UnaryOp > ) ,
350350
351+ FloatConst ( Operation < ' func , M , F , operation:: FloatConst > ) ,
352+
351353 FcmpE ( Operation < ' func , M , F , operation:: Condition > ) ,
352354 FcmpNE ( Operation < ' func , M , F , operation:: Condition > ) ,
353355 FcmpLT ( Operation < ' func , M , F , operation:: Condition > ) ,
@@ -513,6 +515,10 @@ where
513515 LLIL_FCMP_O => LowLevelILExpressionKind :: FcmpO ( Operation :: new ( function, op, index) ) ,
514516 LLIL_FCMP_UO => LowLevelILExpressionKind :: FcmpUO ( Operation :: new ( function, op, index) ) ,
515517
518+ LLIL_FLOAT_CONST => {
519+ LowLevelILExpressionKind :: FloatConst ( Operation :: new ( function, op, index) )
520+ }
521+
516522 LLIL_SEPARATE_PARAM_LIST_SSA => {
517523 LowLevelILExpressionKind :: SeparateParamListSsa ( Operation :: new ( function, op, index) )
518524 }
@@ -524,7 +530,7 @@ where
524530 LowLevelILExpressionKind :: UnimplMem ( Operation :: new ( function, op, index) )
525531 }
526532
527- // TODO TEST_BIT ADD_OVERFLOW LLIL_REG_STACK_PUSH
533+ // TODO TEST_BIT ADD_OVERFLOW LLIL_REG_STACK_PUSH
528534 _ => {
529535 #[ cfg( debug_assertions) ]
530536 log:: error!(
@@ -698,7 +704,7 @@ where
698704 Pop ( _) | Reg ( _) | RegSsa ( _) | RegPartialSsa ( _) | RegSplit ( _) | RegSplitSsa ( _)
699705 | Const ( _) | ConstPtr ( _) | Flag ( _) | FlagBit ( _) | ExternPtr ( _) | FlagCond ( _)
700706 | FlagGroup ( _) | Unimpl ( _) | Undef ( _) | RegStackPop ( _) | CallOutputSsa ( _)
701- | CallStackSsa ( _) => { }
707+ | CallStackSsa ( _) | FloatConst ( _ ) => { }
702708 }
703709
704710 VisitorAction :: Sibling
@@ -742,6 +748,8 @@ where
742748
743749 Const ( ref op) | ConstPtr ( ref op) => & op. op ,
744750
751+ FloatConst ( ref op) => & op. op ,
752+
745753 ExternPtr ( ref op) => & op. op ,
746754
747755 RegStackPop ( ref op) => & op. op ,
@@ -812,6 +820,8 @@ impl LowLevelILExpressionKind<'_, Mutable, NonSSA> {
812820
813821 Const ( ref op) | ConstPtr ( ref op) => op. flag_write ( ) ,
814822
823+ FloatConst ( ref op) => op. flag_write ( ) ,
824+
815825 ExternPtr ( ref op) => op. flag_write ( ) ,
816826
817827 RegStackPop ( ref op) => op. flag_write ( ) ,
0 commit comments