[llvm-commits] [llvm] r49442 - in /llvm/trunk/include/llvm: CodeGen/MachineModuleInfo.h DerivedTypes.h

Dan Gohman gohman at apple.com
Wed Apr 9 11:24:25 PDT 2008


Author: djg
Date: Wed Apr  9 13:24:25 2008
New Revision: 49442

URL: http://llvm.org/viewvc/llvm-project?rev=49442&view=rev
Log:
Update comments to use 2.0 syntax type names.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h
    llvm/trunk/include/llvm/DerivedTypes.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h?rev=49442&r1=49441&r2=49442&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineModuleInfo.h Wed Apr  9 13:24:25 2008
@@ -772,7 +772,7 @@
 class DISerializer {
 private:
   Module *M;                            // Definition space module.
-  PointerType *StrPtrTy;                // A "sbyte *" type.  Created lazily.
+  PointerType *StrPtrTy;                // A "i8*" type.  Created lazily.
   PointerType *EmptyStructPtrTy;        // A "{ }*" type.  Created lazily.
   std::map<unsigned, StructType *> TagTypes;
                                         // Types per Tag.  Created lazily.
@@ -796,7 +796,7 @@
   Module *getModule()        const { return M; };
   void setModule(Module *module)  { M = module; }
 
-  /// getStrPtrType - Return a "sbyte *" type.
+  /// getStrPtrType - Return a "i8*" type.
   ///
   const PointerType *getStrPtrType();
   

Modified: llvm/trunk/include/llvm/DerivedTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DerivedTypes.h?rev=49442&r1=49441&r2=49442&view=diff

==============================================================================
--- llvm/trunk/include/llvm/DerivedTypes.h (original)
+++ llvm/trunk/include/llvm/DerivedTypes.h Wed Apr  9 13:24:25 2008
@@ -104,7 +104,7 @@
 
   /// getBitMask - Return a bitmask with ones set for all of the bits
   /// that can be set by an unsigned version of this type.  This is 0xFF for
-  /// sbyte/ubyte, 0xFFFF for shorts, etc.
+  /// i8, 0xFFFF for i16, etc.
   uint64_t getBitMask() const {
     return ~uint64_t(0UL) >> (64-getBitWidth());
   }





More information about the llvm-commits mailing list