Put all LLVM code into the llvm namespace, as per bug 109.
llvm-svn: 9903
diff --git a/llvm/lib/Transforms/Scalar/GCSE.cpp b/llvm/lib/Transforms/Scalar/GCSE.cpp
index e1654e5..b00d300 100644
--- a/llvm/lib/Transforms/Scalar/GCSE.cpp
+++ b/llvm/lib/Transforms/Scalar/GCSE.cpp
@@ -23,6 +23,8 @@
#include "Support/Statistic.h"
#include <algorithm>
+namespace llvm {
+
namespace {
Statistic<> NumInstRemoved("gcse", "Number of instructions removed");
Statistic<> NumLoadRemoved("gcse", "Number of loads removed");
@@ -56,7 +58,6 @@
// createGCSEPass - The public interface to this file...
FunctionPass *createGCSEPass() { return new GCSE(); }
-
// GCSE::runOnFunction - This is the main transformation entry point for a
// function.
//
@@ -269,3 +270,5 @@
return Ret;
}
+
+} // End llvm namespace