[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 8 22:19:04 PST 2004
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.152 -> 1.153
---
Log message:
Start using the new and improve interface to FunctionType arguments
---
Diffs of the changes: (+4 -4)
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.152 llvm/lib/AsmParser/llvmAsmParser.y:1.153
--- llvm/lib/AsmParser/llvmAsmParser.y:1.152 Sun Feb 8 21:22:32 2004
+++ llvm/lib/AsmParser/llvmAsmParser.y Sun Feb 8 22:13:34 2004
@@ -1668,8 +1668,8 @@
// Loop through FunctionType's arguments and ensure they are specified
// correctly!
//
- FunctionType::ParamTypes::const_iterator I = Ty->getParamTypes().begin();
- FunctionType::ParamTypes::const_iterator E = Ty->getParamTypes().end();
+ FunctionType::param_iterator I = Ty->param_begin();
+ FunctionType::param_iterator E = Ty->param_end();
std::vector<Value*>::iterator ArgI = $5->begin(), ArgE = $5->end();
for (; ArgI != ArgE && I != E; ++ArgI, ++I)
@@ -1869,8 +1869,8 @@
// Loop through FunctionType's arguments and ensure they are specified
// correctly!
//
- FunctionType::ParamTypes::const_iterator I = Ty->getParamTypes().begin();
- FunctionType::ParamTypes::const_iterator E = Ty->getParamTypes().end();
+ FunctionType::param_iterator I = Ty->param_begin();
+ FunctionType::param_iterator E = Ty->param_end();
std::vector<Value*>::iterator ArgI = $5->begin(), ArgE = $5->end();
for (; ArgI != ArgE && I != E; ++ArgI, ++I)
More information about the llvm-commits
mailing list