[llvm-commits] CVS: reopt/lib/Mapping/getLLVMinfo.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Mon Jan 5 14:14:01 PST 2004
Changes in directory reopt/lib/Mapping:
getLLVMinfo.cpp updated: 1.23 -> 1.24
---
Log message:
Fix namespace-ification problems.
---
Diffs of the changes: (+4 -1)
Index: reopt/lib/Mapping/getLLVMinfo.cpp
diff -u reopt/lib/Mapping/getLLVMinfo.cpp:1.23 reopt/lib/Mapping/getLLVMinfo.cpp:1.24
--- reopt/lib/Mapping/getLLVMinfo.cpp:1.23 Wed Nov 19 16:51:50 2003
+++ reopt/lib/Mapping/getLLVMinfo.cpp Mon Jan 5 14:13:37 2004
@@ -15,7 +15,6 @@
using std::map;
using std::vector;
-using namespace llvm;
// Global symbols added to the program by the opt -emitfuncs pass:
extern void **llvmFunctionTable[];
@@ -25,6 +24,8 @@
extern unsigned char *FunctionBB[];
extern unsigned char *FunctionLI[];
+namespace llvm {
+
static std::map<unsigned, std::pair<unsigned, unsigned> > BBmapF;
//reverse of BBMAP
static std::map<unsigned, BasicBlock *> BBmapReverse;
@@ -292,3 +293,5 @@
return NULL;
}
+
+} // end namespace llvm
More information about the llvm-commits
mailing list