mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Rework getWriteableModel to return a TupleTree
The previous design returned a model::Binary &, which did not allow users writing the model to properly initialize cross references between different parts of the model.
This commit is contained in:
committed by
Alessandro Di Federico
parent
b4929b431c
commit
8fa8ca2d03
@@ -462,7 +462,7 @@ bool StackAnalysis::runOnModule(Module &M) {
|
||||
serialize(pathToStream(ABIAnalysisOutputPath, Output));
|
||||
}
|
||||
|
||||
commitToModel(GCBI, &F, GrandResult, LMP.getWriteableModel());
|
||||
commitToModel(GCBI, &F, GrandResult, *LMP.getWriteableModel());
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user