- // Iterate over method arguments, adding them to the value table...
- for_each(M->getArgumentList().begin(), M->getArgumentList().end(),
- bind_obj(this, &SlotCalculator::insertValue));
+ // Iterate over function arguments, adding them to the value table...
+ for(Function::const_aiterator I = M->abegin(), E = M->aend(); I != E; ++I)
+ insertValue(I);