[llvm-commits] CVS: llvm/include/llvm/Bytecode/Format.h
Reid Spencer
reid at x10sys.com
Fri Jan 5 23:25:20 PST 2007
Changes in directory llvm/include/llvm/Bytecode:
Format.h updated: 1.14 -> 1.15
---
Log message:
For PR411: http://llvm.org/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.
---
Diffs of the changes: (+3 -2)
Format.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/Bytecode/Format.h
diff -u llvm/include/llvm/Bytecode/Format.h:1.14 llvm/include/llvm/Bytecode/Format.h:1.15
--- llvm/include/llvm/Bytecode/Format.h:1.14 Mon Nov 13 22:47:22 2006
+++ llvm/include/llvm/Bytecode/Format.h Sat Jan 6 01:24:43 2007
@@ -35,7 +35,7 @@
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 @@
/// 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
};
More information about the llvm-commits
mailing list