[llvm-commits] CVS: reopt/lib/LightWtProfiling/Globals.h Timer.h

Brian Gaeke gaeke at cs.uiuc.edu
Mon Jan 5 14:14:04 PST 2004


Changes in directory reopt/lib/LightWtProfiling:

Globals.h updated: 1.6 -> 1.7
Timer.h updated: 1.2 -> 1.3

---
Log message:

Fix namespace-ification problems.

---
Diffs of the changes:  (+7 -2)

Index: reopt/lib/LightWtProfiling/Globals.h
diff -u reopt/lib/LightWtProfiling/Globals.h:1.6 reopt/lib/LightWtProfiling/Globals.h:1.7
--- reopt/lib/LightWtProfiling/Globals.h:1.6	Wed Nov 19 16:51:48 2003
+++ reopt/lib/LightWtProfiling/Globals.h	Mon Jan  5 14:13:37 2004
@@ -66,12 +66,13 @@
 ///
 extern bool enable_trace_optimizer;
 
+} // end namespace llvm
+
 /// The current SPARC LLC writes the bytecode and its length into the
 /// executable. We can access them via these global symbols.
+/// They are not in any namespace.
 ///
 extern const unsigned char LLVMBytecode[];
 extern int llvm_length;
-
-}
 
 #endif // GLOBALS_H


Index: reopt/lib/LightWtProfiling/Timer.h
diff -u reopt/lib/LightWtProfiling/Timer.h:1.2 reopt/lib/LightWtProfiling/Timer.h:1.3
--- reopt/lib/LightWtProfiling/Timer.h:1.2	Wed Sep 10 15:35:55 2003
+++ reopt/lib/LightWtProfiling/Timer.h	Mon Jan  5 14:13:37 2004
@@ -3,9 +3,13 @@
 
 #include "Support/DataTypes.h"
 
+namespace llvm {
+
 extern void mask_interrupt ();
 extern void unmask_interrupt ();
 extern int initialize_timer ();
 extern uint64_t llvm_interval_counter;
+
+} // end namespace llvm
 
 #endif // TIMER_H





More information about the llvm-commits mailing list