TupleTree: switch from public fields to accessors

This commit is contained in:
Massimo Fioravanti
2022-12-01 12:24:57 +01:00
committed by Alessandro Di Federico
parent 0d3133cfc9
commit 742e1a0c56
91 changed files with 1573 additions and 1519 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void GeneratedCodeBasicInfo::run(Module &M) {
revng_log(PassesLog, "Starting GeneratedCodeBasicInfo");
using namespace model::Architecture;
auto Architecture = Binary->Architecture;
auto Architecture = Binary->Architecture();
PC = M.getGlobalVariable(getPCCSVName(Architecture), true);
SP = M.getGlobalVariable(getCSVName(getStackPointer(Architecture)), true);
auto ReturnAddressRegister = getReturnAddressRegister(Architecture);