forked from OSchip/llvm-project
Update comments to use 2.0 syntax type names.
llvm-svn: 49442
This commit is contained in:
parent
3d074a3125
commit
bb0022b810
|
@ -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();
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue