mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
For PR411:
Take an incremental step towards type plane elimination. This change separates types from values in the symbol tables by finally making use of the TypeSymbolTable class. This yields more natural interfaces for dealing with types and unclutters the SymbolTable class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
||||
ModuleBlockID = 1, ///< Module block that contains other blocks.
|
||||
FunctionBlockID = 2, ///< Function block identifier
|
||||
ConstantPoolBlockID = 3, ///< Constant pool identifier
|
||||
SymbolTableBlockID = 4, ///< Symbol table identifier
|
||||
ValueSymbolTableBlockID= 4, ///< Value Symbol table identifier
|
||||
ModuleGlobalInfoBlockID= 5, ///< Module global info identifier
|
||||
GlobalTypePlaneBlockID = 6, ///< Global type plan identifier
|
||||
InstructionListBlockID = 7, ///< All instructions in a function
|
||||
@@ -46,8 +46,9 @@ public:
|
||||
/// instructions to be encoded more efficiently because VBR takes fewer
|
||||
/// bytes with smaller values.
|
||||
/// @brief Value Compaction Table Block
|
||||
CompactionTableBlockID = 0x08,
|
||||
CompactionTableBlockID = 8,
|
||||
|
||||
TypeSymbolTableBlockID = 9, ///< Value Symbol table identifier
|
||||
// Not a block id, just used to count them
|
||||
NumberOfBlockIDs
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user