Update comments to use 2.0 syntax type names.
authorDan Gohman <gohman@apple.com>
Wed, 9 Apr 2008 18:24:25 +0000 (18:24 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 9 Apr 2008 18:24:25 +0000 (18:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49442 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineModuleInfo.h
include/llvm/DerivedTypes.h

index f798e50c4338a4f0bcbcd886e7101514ae4373b2..40c67fd8e8c345ebc09a52b9246b1b0ca2a9c452 100644 (file)
@@ -772,7 +772,7 @@ public:
 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 @@ public:
   Module *getModule()        const { return M; };
   void setModule(Module *module)  { M = module; }
 
-  /// getStrPtrType - Return a "sbyte *" type.
+  /// getStrPtrType - Return a "i8*" type.
   ///
   const PointerType *getStrPtrType();
   
index 5f4569cfd15ed6278807811365bb9b5594f27c66..3ea2a6cb946cf600a85df56ffd5a60a8d068cbe7 100644 (file)
@@ -104,7 +104,7 @@ public:
 
   /// 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());
   }