summaryrefslogtreecommitdiff
path: root/lowlevelilinstruction.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-01-18 20:15:04 -0500
committerRusty Wagner <rusty@vector35.com>2018-01-18 20:15:04 -0500
commit1228e32e300d62f5d76438e4500965d76edeca69 (patch)
tree00d6e341c5da65e4832e0e66428c7ac4a613d3c9 /lowlevelilinstruction.cpp
parent6430776b3de5ee6eb922a9356080ad07d5a92856 (diff)
Allow flag roles to be dependent on semantic class
Diffstat (limited to 'lowlevelilinstruction.cpp')
-rw-r--r--lowlevelilinstruction.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lowlevelilinstruction.cpp b/lowlevelilinstruction.cpp
index 4b1acff3..9909e8ee 100644
--- a/lowlevelilinstruction.cpp
+++ b/lowlevelilinstruction.cpp
@@ -1680,7 +1680,7 @@ ExprId LowLevelILInstruction::CopyTo(LowLevelILFunction* dest,
return dest->RegisterStackTopRelative(size, GetSourceRegisterStack<LLIL_REG_STACK_REL>(),
subExprHandler(GetSourceExpr<LLIL_REG_STACK_REL>()), *this);
case LLIL_REG_STACK_POP:
- return dest->RegisterStackPop(size, GetSourceRegisterStack<LLIL_REG_STACK_POP>(), *this);
+ return dest->RegisterStackPop(size, GetSourceRegisterStack<LLIL_REG_STACK_POP>(), flags, *this);
case LLIL_REG_STACK_REL_SSA:
return dest->RegisterStackTopRelativeSSA(size, GetSourceSSARegisterStack<LLIL_REG_STACK_REL_SSA>(),
subExprHandler(GetSourceExpr<LLIL_REG_STACK_REL_SSA>()),
@@ -1827,6 +1827,7 @@ ExprId LowLevelILInstruction::CopyTo(LowLevelILFunction* dest,
case LLIL_FCMP_LE:
case LLIL_FCMP_GE:
case LLIL_FCMP_GT:
+ case LLIL_FCMP_O:
case LLIL_FCMP_UO:
return dest->AddExprWithLocation(operation, *this, size, flags,
subExprHandler(AsTwoOperand().GetLeftExpr()), subExprHandler(AsTwoOperand().GetRightExpr()));
@@ -2435,9 +2436,9 @@ ExprId LowLevelILFunction::RegisterStackTopRelative(size_t size, uint32_t regSta
}
-ExprId LowLevelILFunction::RegisterStackPop(size_t size, uint32_t regStack, const ILSourceLocation& loc)
+ExprId LowLevelILFunction::RegisterStackPop(size_t size, uint32_t regStack, uint32_t flags, const ILSourceLocation& loc)
{
- return AddExprWithLocation(LLIL_REG_STACK_POP, loc, size, 0, regStack);
+ return AddExprWithLocation(LLIL_REG_STACK_POP, loc, size, flags, regStack);
}