summaryrefslogtreecommitdiff
path: root/highlevelilinstruction.cpp
diff options
context:
space:
mode:
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);
}