[llvm-commits] CVS: llvm/lib/Analysis/LoadValueNumbering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Feb 4 23:52:02 PST 2004
Changes in directory llvm/lib/Analysis:
LoadValueNumbering.cpp updated: 1.12 -> 1.13
---
Log message:
finegrainify namespacification
---
Diffs of the changes: (+2 -5)
Index: llvm/lib/Analysis/LoadValueNumbering.cpp
diff -u llvm/lib/Analysis/LoadValueNumbering.cpp:1.12 llvm/lib/Analysis/LoadValueNumbering.cpp:1.13
--- llvm/lib/Analysis/LoadValueNumbering.cpp:1.12 Wed Feb 4 22:45:21 2004
+++ llvm/lib/Analysis/LoadValueNumbering.cpp Wed Feb 4 23:51:40 2004
@@ -30,8 +30,7 @@
#include "llvm/Support/CFG.h"
#include <algorithm>
#include <set>
-
-namespace llvm {
+using namespace llvm;
namespace {
// FIXME: This should not be a FunctionPass.
@@ -72,7 +71,7 @@
RegisterAnalysisGroup<ValueNumbering, LoadVN> Y;
}
-Pass *createLoadValueNumberingPass() { return new LoadVN(); }
+Pass *llvm::createLoadValueNumberingPass() { return new LoadVN(); }
/// getAnalysisUsage - Does not modify anything. It uses Value Numbering and
@@ -388,5 +387,3 @@
return true;
}
}
-
-} // End llvm namespace
More information about the llvm-commits
mailing list