[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 20 12:33:03 PST 2002
Changes in directory llvm/lib/Bytecode/Reader:
Reader.cpp updated: 1.40 -> 1.41
---
Log message:
- Eliminated the deferred symbol table stuff in Module & Function, it really
wasn't an optimization and it was causing lots of bugs.
---
Diffs of the changes:
Index: llvm/lib/Bytecode/Reader/Reader.cpp
diff -u llvm/lib/Bytecode/Reader/Reader.cpp:1.40 llvm/lib/Bytecode/Reader/Reader.cpp:1.41
--- llvm/lib/Bytecode/Reader/Reader.cpp:1.40 Tue Oct 22 19:51:54 2002
+++ llvm/lib/Bytecode/Reader/Reader.cpp Wed Nov 20 12:31:59 2002
@@ -338,7 +338,7 @@
case BytecodeFormat::SymbolTable:
BCR_TRACE(2, "BLOCK BytecodeFormat::SymbolTable: {\n");
- if (ParseSymbolTable(Buf, Buf+Size, M->getSymbolTableSure())) {
+ if (ParseSymbolTable(Buf, Buf+Size, &M->getSymbolTable())) {
delete M; return true;
}
break;
@@ -543,7 +543,7 @@
case BytecodeFormat::SymbolTable:
BCR_TRACE(1, "BLOCK BytecodeFormat::SymbolTable: {\n");
- if (ParseSymbolTable(Buf, Buf+Size, Mod->getSymbolTableSure())) {
+ if (ParseSymbolTable(Buf, Buf+Size, &Mod->getSymbolTable())) {
delete Mod; return true;
}
break;
More information about the llvm-commits
mailing list