add argIndex to analysis.declare.