[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
LLVM
llvm at cs.uiuc.edu
Tue May 25 12:32:01 PDT 2004
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.163 -> 1.164
---
Log message:
Changed to use SymbolTable's new lookup interface.
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.163 llvm/lib/AsmParser/llvmAsmParser.y:1.164
--- llvm/lib/AsmParser/llvmAsmParser.y:1.163 Sat Apr 17 18:49:15 2004
+++ llvm/lib/AsmParser/llvmAsmParser.y Tue May 25 12:29:21 2004
@@ -239,7 +239,7 @@
Value *N = 0;
if (inFunctionScope()) {
SymTab = &CurFun.CurrentFunction->getSymbolTable();
- N = SymTab->lookup(Type::TypeTy, Name);
+ N = SymTab->lookupType(Name);
}
if (N == 0) {
@@ -247,7 +247,7 @@
// hasn't been added to the module...
//
SymTab = &CurModule.CurrentModule->getSymbolTable();
- N = SymTab->lookup(Type::TypeTy, Name);
+ N = SymTab->lookupType(Name);
if (N == 0) break;
}
More information about the llvm-commits
mailing list