commit | aa2372562e39758d0b8fca392fd636fe55b23cc9 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed May 24 17:04:05 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed May 24 17:04:05 2006 +0000 |
tree | fea9f96191ae654bc163e553eea13431887046ca | |
parent | 5114596467e0b7024b549c27590631337914d6b0 [diff] |
Patches to make the LLVM sources more -pedantic clean. Patch provided by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447
diff --git a/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp b/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp index 5918d7e..31c01ee 100644 --- a/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp +++ b/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp
@@ -162,7 +162,7 @@ RegisterOpt<ProfilerRS> X("insert-rs-profiling-framework", "Insert random sampling instrumentation framework"); -}; +} //Local utilities static void ReplacePhiPred(BasicBlock* btarget,
diff --git a/llvm/lib/Transforms/Instrumentation/RSProfiling.h b/llvm/lib/Transforms/Instrumentation/RSProfiling.h index 304ce08..e07db00 100644 --- a/llvm/lib/Transforms/Instrumentation/RSProfiling.h +++ b/llvm/lib/Transforms/Instrumentation/RSProfiling.h
@@ -26,4 +26,4 @@ void IncrementCounterInBlock(BasicBlock *BB, unsigned CounterNum, GlobalValue *CounterArray); }; -}; +}