GP-2311 Added hasNoDescend method to Varnode interface

This commit is contained in:
caheckman 2023-09-06 22:20:06 +00:00
parent c072972153
commit 60b9e00e2c
4 changed files with 78 additions and 26 deletions

View file

@ -1266,7 +1266,7 @@ Datatype *TypeOpIntSub::getOutputToken(const PcodeOp *op,CastStrategy *castStrat
TypeOpIntCarry::TypeOpIntCarry(TypeFactory *t)
: TypeOpFunc(t,CPUI_INT_CARRY,"CARRY",TYPE_BOOL,TYPE_UINT)
{
opflags = PcodeOp::binary;
opflags = PcodeOp::binary | PcodeOp::commutative;
addlflags = arithmetic_op;
behave = new OpBehaviorIntCarry();
}
@ -1282,7 +1282,7 @@ string TypeOpIntCarry::getOperatorName(const PcodeOp *op) const
TypeOpIntScarry::TypeOpIntScarry(TypeFactory *t)
: TypeOpFunc(t,CPUI_INT_SCARRY,"SCARRY",TYPE_BOOL,TYPE_INT)
{
opflags = PcodeOp::binary;
opflags = PcodeOp::binary | PcodeOp::commutative;
behave = new OpBehaviorIntScarry();
}