mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Update comment.
Remove unused forward decl of Value.h Make Type 32 bytes instead of 36 bytes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2b4ae9d93
commit
c29af0084f
@ -15,7 +15,8 @@
|
|||||||
// type is ever created. Thus seeing if two types are equal is a matter of
|
// type is ever created. Thus seeing if two types are equal is a matter of
|
||||||
// doing a trivial pointer comparison.
|
// doing a trivial pointer comparison.
|
||||||
//
|
//
|
||||||
// Types, once allocated, are never free'd.
|
// Types, once allocated, are never free'd, unless they are an abstract type
|
||||||
|
// that is resolved to a more concrete type.
|
||||||
//
|
//
|
||||||
// Opaque types are simple derived types with no state. There may be many
|
// Opaque types are simple derived types with no state. There may be many
|
||||||
// different Opaque type objects floating around, but two are only considered
|
// different Opaque type objects floating around, but two are only considered
|
||||||
@ -48,7 +49,6 @@ class OpaqueType;
|
|||||||
class PointerType;
|
class PointerType;
|
||||||
class StructType;
|
class StructType;
|
||||||
class SymbolTable;
|
class SymbolTable;
|
||||||
class Value;
|
|
||||||
|
|
||||||
struct Type {
|
struct Type {
|
||||||
///===-------------------------------------------------------------------===//
|
///===-------------------------------------------------------------------===//
|
||||||
@ -81,9 +81,9 @@ struct Type {
|
|||||||
};
|
};
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TypeID ID; // The current base type of this type...
|
TypeID ID : 8; // The current base type of this type.
|
||||||
unsigned UID; // The unique ID number for this class
|
|
||||||
bool Abstract; // True if type contains an OpaqueType
|
bool Abstract; // True if type contains an OpaqueType
|
||||||
|
unsigned UID; // The unique ID number for this class
|
||||||
|
|
||||||
/// RefCount - This counts the number of PATypeHolders that are pointing to
|
/// RefCount - This counts the number of PATypeHolders that are pointing to
|
||||||
/// this type. When this number falls to zero, if the type is abstract and
|
/// this type. When this number falls to zero, if the type is abstract and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user