mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
Adjust to API changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16429 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d232438f54
commit
d55c9bf318
@ -46,7 +46,7 @@ namespace PA {
|
|||||||
/// DS graph for all functions in an equivalence class. After this merging,
|
/// DS graph for all functions in an equivalence class. After this merging,
|
||||||
/// graphs are inlined bottom-up on the SCCs of the final (CBU) call graph.
|
/// graphs are inlined bottom-up on the SCCs of the final (CBU) call graph.
|
||||||
///
|
///
|
||||||
struct EquivClassGraphs : public Pass {
|
struct EquivClassGraphs : public ModulePass {
|
||||||
CompleteBUDataStructures *CBU;
|
CompleteBUDataStructures *CBU;
|
||||||
|
|
||||||
// FoldedGraphsMap, one graph for each function
|
// FoldedGraphsMap, one graph for each function
|
||||||
@ -69,7 +69,7 @@ namespace PA {
|
|||||||
/// EquivClassGraphs - Computes the equivalence classes and then the
|
/// EquivClassGraphs - Computes the equivalence classes and then the
|
||||||
/// folded DS graphs for each class.
|
/// folded DS graphs for each class.
|
||||||
///
|
///
|
||||||
virtual bool run(Module &M) { computeFoldedGraphs(M); return true; }
|
virtual bool runOnModule(Module &M) { computeFoldedGraphs(M); return true; }
|
||||||
|
|
||||||
/// getCBUDataStructures - Get the CompleteBUDataStructures object
|
/// getCBUDataStructures - Get the CompleteBUDataStructures object
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user