summaryrefslogtreecommitdiff
path: root/lowlevelilinstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lowlevelilinstruction.cpp')
-rw-r--r--lowlevelilinstruction.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lowlevelilinstruction.cpp b/lowlevelilinstruction.cpp
index 3b92d310..228e8328 100644
--- a/lowlevelilinstruction.cpp
+++ b/lowlevelilinstruction.cpp
@@ -835,6 +835,16 @@ LowLevelILInstructionList::operator vector<LowLevelILInstruction>() const
}
+LowLevelILInstructionList::operator vector<ExprId>() const
+{
+ vector<ExprId> result;
+ result.reserve(size());
+ for (auto i : *this)
+ result.push_back(i.exprIndex);
+ return result;
+}
+
+
const RegisterOrFlag LowLevelILRegisterOrFlagList::ListIterator::operator*()
{
return RegisterOrFlag::FromIdentifier(*pos);