[llvm-commits] CVS: reopt/lib/Inst/lib/Phase1/Phase1.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Sep 20 15:49:06 PDT 2004
Changes in directory reopt/lib/Inst/lib/Phase1:
Phase1.cpp updated: 1.34 -> 1.35
---
Log message:
Update Joel's code to work after pass manager changes.
---
Diffs of the changes: (+3 -3)
Index: reopt/lib/Inst/lib/Phase1/Phase1.cpp
diff -u reopt/lib/Inst/lib/Phase1/Phase1.cpp:1.34 reopt/lib/Inst/lib/Phase1/Phase1.cpp:1.35
--- reopt/lib/Inst/lib/Phase1/Phase1.cpp:1.34 Thu Sep 2 11:55:43 2004
+++ reopt/lib/Inst/lib/Phase1/Phase1.cpp Mon Sep 20 17:48:56 2004
@@ -45,12 +45,12 @@
inst->getParent()->getInstList().erase(inst);
}
-class Phase1 : public Pass
+class Phase1 : public ModulePass
{
public:
Phase1();
void doInitialization(Module& m);
- bool run(Module& m);
+ bool runOnModule(Module& m);
private:
// placeholder pairs holds: glob volatile ptr, glob temporary variable ptr
@@ -443,7 +443,7 @@
new StoreInst(toTmpType, newTmp, ci);
}
-bool Phase1::run(Module& m)
+bool Phase1::runOnModule(Module& m)
{
doInitialization(m);
More information about the llvm-commits
mailing list