From af4a9bb2baa680d1e88eeeffa7e5156aeb77a18c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 6 Mar 2005 02:32:00 +0000 Subject: simplify and speed up some code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20472 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Writer/Writer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Bytecode/Writer/Writer.cpp') diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp index 5218c9e8c9..ad2dbd0fcc 100644 --- a/lib/Bytecode/Writer/Writer.cpp +++ b/lib/Bytecode/Writer/Writer.cpp @@ -1071,7 +1071,7 @@ void BytecodeWriter::outputSymbolTable(const SymbolTable &MST) { if (I == End) continue; // Don't mess with an absent type... // Write the number of values in this plane - output_vbr(MST.type_size(PI->first)); + output_vbr(PI->second.size()); // Write the slot number of the type for this plane Slot = Table.getSlot(PI->first); -- cgit v1.2.3