[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Chris Lattner
lattner at cs.uiuc.edu
Fri Jul 9 11:45:09 PDT 2004
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.171 -> 1.172
---
Log message:
Don't call Type::setName()
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.171 llvm/lib/AsmParser/llvmAsmParser.y:1.172
--- llvm/lib/AsmParser/llvmAsmParser.y:1.171 Thu Jul 8 17:30:50 2004
+++ llvm/lib/AsmParser/llvmAsmParser.y Fri Jul 9 11:43:55 2004
@@ -610,7 +610,7 @@
}
// Okay, its a newly named type. Set its name.
- T->setName(Name,&ST);
+ if (!Name.empty()) ST.insert(Name, T);
// If we're in function scope
if (inFunctionScope()) {
More information about the llvm-commits
mailing list