diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2024-10-28 21:00:07 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2024-10-28 21:04:03 -0400 |
| commit | 8dabdd428acd30aac4ebb7e17270505fc3ba4a59 (patch) | |
| tree | a4d8ab90d164458a6138c96e7aa856c81e174bd0 /highlevelil.cpp | |
| parent | 717a2ea5c79a95dd3178447e27be979895f55892 (diff) | |
Eliminate AST parameter in high level rendering APIs, as it is already part of the HLIL instruction
Diffstat (limited to 'highlevelil.cpp')
| -rw-r--r-- | highlevelil.cpp | 9 |
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); } |
