Changes in directory llvm/include/llvm/Transforms:
RSProfiling.h updated: 1.2 -> 1.3 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+3 -0) RSProfiling.h | 3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/Transforms/RSProfiling.h diff -u llvm/include/llvm/Transforms/RSProfiling.h:1.2 llvm/include/llvm/Transforms/RSProfiling.h:1.3 --- llvm/include/llvm/Transforms/RSProfiling.h:1.2 Wed Feb 22 10:23:43 2006 +++ llvm/include/llvm/Transforms/RSProfiling.h Tue May 1 16:15:46 2007 @@ -23,6 +23,9 @@ /// this interface are expected to chain to other implementations, such that /// multiple profilers can be support simultaniously. struct RSProfilers : public ModulePass { + static const int ID; // Pass identification, replacement for typeinfo + RSProfilers() : ModulePass((intptr_t)&ID) {} + /// isProfiling - This method returns true if the value passed it was /// inserted by the profiler. virtual bool isProfiling(Value* v) = 0; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits