[LLVMdev] Function Formal parameters

Juan Nicolas Ruiz juanruiz at students.uiuc.edu
Mon Dec 2 19:42:00 PST 2002

can we assume that

  for(Function::aiterator I = F.abegin(); E = F.aend(); I!=E; ++I) {


  Argument *FA = &F.afront();
  do {
    FA = FA->getNext();
  } while (FA != &F.aback());

would iterate over function "F" formal parameters in order? All the
tests I've run so far indicate so, but unless it is guaranteed, I
don't see how can I match formal and actual parameters for a function.

More information about the llvm-dev mailing list