Add namespace comments for doxygen

llvm-svn: 6581
This commit is contained in:
Chris Lattner 2003-06-03 15:31:23 +00:00
parent b91ad88918
commit 92fba99afb
2 changed files with 6 additions and 5 deletions

View File

@ -41,9 +41,9 @@ Pass *createX86CodePrinterPass(std::ostream &O);
///
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.

View File

@ -264,8 +264,9 @@ void Emitter::emitGlobalAddressForPtr(GlobalValue *GV) {
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
};