summaryrefslogtreecommitdiff
path: root/highlevelil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'highlevelil.cpp')
-rw-r--r--highlevelil.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/highlevelil.cpp b/highlevelil.cpp
index 606cc772..121dc406 100644
--- a/highlevelil.cpp
+++ b/highlevelil.cpp
@@ -504,17 +504,16 @@ vector<DisassemblyTextLine> HighLevelILFunction::GetExprText(ExprId expr, bool a
vector<DisassemblyTextLine> HighLevelILFunction::GetExprText(
- const HighLevelILInstruction& instr, bool asFullAst, DisassemblySettings* settings)
+ const HighLevelILInstruction& instr, DisassemblySettings* settings)
{
- return GetExprText(instr.exprIndex, asFullAst, settings);
+ return GetExprText(instr.exprIndex, instr.ast, settings);
}
-vector<DisassemblyTextLine> HighLevelILFunction::GetInstructionText(
- size_t i, bool asFullAst, DisassemblySettings* settings)
+vector<DisassemblyTextLine> HighLevelILFunction::GetInstructionText(size_t i, DisassemblySettings* settings)
{
HighLevelILInstruction instr = GetInstruction(i);
- return GetExprText(instr, asFullAst, settings);
+ return GetExprText(instr, settings);
}