void markAllParametersEscaped ( ) { Node paramList = NodeUtil . getFunctionParameters ( jsScope . getRootNode ( ) ) ; for ( Node arg = paramList . getFirstChild ( ) ; arg != null ; arg = arg . getNext ( ) ) { if ( arg . isRest ( ) || arg . isDefaultValue ( ) ) { escaped . add ( jsScope . getVar ( arg . getFirstChild ( ) . getString ( ) ) ) ; } else { escaped . add ( jsScope . getVar ( arg . getString ( ) ) ) ; } } }
Give up computing liveness of formal parameter by putting all the parameter names in the escaped set .