[llvm-commits] CVS: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Thu Jan 15 13:41:21 PST 2004
Changes in directory reopt/lib/LightWtProfiling:
UnpackTraceFunction.cpp updated: 1.26 -> 1.27
---
Log message:
Start making UnpackTraceFunction into a pass. This is way not ready.
---
Diffs of the changes: (+10 -0)
Index: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
diff -u reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.26 reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.27
--- reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.26 Wed Jan 14 17:02:22 2004
+++ reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp Thu Jan 15 13:40:30 2004
@@ -26,6 +26,12 @@
namespace llvm {
+class UnpackTraceFunction : public FunctionPass {
+public:
+ const char *getPassName () const { return "Unpack trace function"; }
+ virtual bool runOnFunction (Function &F);
+};
+
/// Insert the appropriate machine instruction(s) that copies the value in
/// Source to the location specified by Target, at the beginning of B. Note
/// that the current implementation is SPARC-specific.
@@ -271,6 +277,10 @@
insertBranchMachineInstrs (ReturnAddress, MBB);
}
}
+}
+
+bool UnpackTraceFunction::runOnFunction (Function &F) {
+ return false;
}
} // end namespace llvm
More information about the llvm-commits
mailing list