diff options
author | Dan Gohman <gohman@apple.com> | 2008-04-09 18:24:25 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-04-09 18:24:25 +0000 |
commit | c76230b48568bba5861a4646d9efbf3818bccd6b (patch) | |
tree | 51c6faabd2bae11c02b7587af7c87bfad802a5e3 | |
parent | c2ffd4b1cbf4f3c6bee973a5debd848b32b54a2b (diff) | |
download | external_llvm-c76230b48568bba5861a4646d9efbf3818bccd6b.zip external_llvm-c76230b48568bba5861a4646d9efbf3818bccd6b.tar.gz external_llvm-c76230b48568bba5861a4646d9efbf3818bccd6b.tar.bz2 |
Update comments to use 2.0 syntax type names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49442 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfo.h | 4 | ||||
-rw-r--r-- | include/llvm/DerivedTypes.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index f798e50..40c67fd 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -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(); diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 5f4569c..3ea2a6c 100644 --- a/include/llvm/DerivedTypes.h +++ b/include/llvm/DerivedTypes.h @@ -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()); } |