summaryrefslogtreecommitdiff
path: root/highlevelilinstruction.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2020-01-03 21:51:50 -0500
committerRusty Wagner <rusty@vector35.com>2020-04-17 14:20:38 -0400
commit0e8987bb46b8aa33c5898d5effed25f1124e03dd (patch)
tree87943b69c39f4377eedf07c2fa9b9ec1ab018f9d /highlevelilinstruction.cpp
parent620dd96217a49803fe04c6bc286291ddd857dcba (diff)
Add types to HLIL expressions
Diffstat (limited to 'highlevelilinstruction.cpp')
-rw-r--r--highlevelilinstruction.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/highlevelilinstruction.cpp b/highlevelilinstruction.cpp
index 1468fa78..80d30a92 100644
--- a/highlevelilinstruction.cpp
+++ b/highlevelilinstruction.cpp
@@ -797,9 +797,7 @@ PossibleValueSet HighLevelILInstructionBase::GetPossibleValues(const set<BNDataF
Confidence<Ref<Type>> HighLevelILInstructionBase::GetType() const
{
- if (!HasMediumLevelIL())
- return nullptr;
- return GetMediumLevelILSSAForm().GetType();
+ return function->GetExprType(exprIndex);
}