| 355 | } |
| 356 | |
| 357 | void |
| 358 | FunctionInvocation::get_called_funcs(std::vector<const FunctionInvocationUser*>& funcs) const |
| 359 | { |
| 360 | // find calls in parameters |
| 361 | for (size_t i=0; i<param_value.size(); i++) { |
| 362 | const Expression* value = param_value[i]; |
| 363 | value->get_called_funcs(funcs); |
| 364 | } |
| 365 | if (invoke_type == eFuncCall) { |
| 366 | const FunctionInvocationUser* func_call = (const FunctionInvocationUser*)this; |
| 367 | funcs.push_back(func_call); |
| 368 | } |
| 369 | } |
| 370 | |
| 371 | bool |
| 372 | FunctionInvocation::has_uncertain_call(void) const |