[llvm-commits] CVS: llvm/lib/Target/X86/X86.h X86CodeEmitter.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Jun 3 10:32:06 PDT 2003


Changes in directory llvm/lib/Target/X86:

X86.h updated: 1.12 -> 1.13
X86CodeEmitter.cpp updated: 1.25 -> 1.26

---
Log message:

Add namespace comments for doxygen


---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86.h
diff -u llvm/lib/Target/X86/X86.h:1.12 llvm/lib/Target/X86/X86.h:1.13
--- llvm/lib/Target/X86/X86.h:1.12	Sun Jan 12 18:45:29 2003
+++ llvm/lib/Target/X86/X86.h	Tue Jun  3 10:31:23 2003
@@ -41,9 +41,9 @@
 ///
 Pass *createEmitX86CodeToMemory();
 
-// Put symbolic names in a namespace to avoid causing these to clash with all
-// kinds of other things...
-//
+/// X86 namespace - This namespace contains all of the register and opcode enums
+/// used by the X86 backend.
+///
 namespace X86 {
   // Defines a large number of symbolic names for X86 registers.  This defines a
   // mapping from register name to register number.


Index: llvm/lib/Target/X86/X86CodeEmitter.cpp
diff -u llvm/lib/Target/X86/X86CodeEmitter.cpp:1.25 llvm/lib/Target/X86/X86CodeEmitter.cpp:1.26
--- llvm/lib/Target/X86/X86CodeEmitter.cpp:1.25	Sun Jun  1 23:13:58 2003
+++ llvm/lib/Target/X86/X86CodeEmitter.cpp	Tue Jun  3 10:31:23 2003
@@ -264,8 +264,9 @@
 
 
 
-
-namespace N86 {  // Native X86 Register numbers...
+/// N86 namespace - Native X86 Register numbers... used by X86 backend.
+///
+namespace N86 {
   enum {
     EAX = 0, ECX = 1, EDX = 2, EBX = 3, ESP = 4, EBP = 5, ESI = 6, EDI = 7
   };





More information about the llvm-commits mailing list