| 103 | } |
| 104 | |
| 105 | bool |
| 106 | VariableSelectFilter::filter(int v) const |
| 107 | { |
| 108 | eVariableScope scope = VariableSelector::scopeTable_->get_value(v); |
| 109 | if (scope == eParentParam) { |
| 110 | Function &parent = *cg_context_.get_current_func(); |
| 111 | return parent.param.empty(); |
| 112 | } |
| 113 | return false; |
| 114 | } |
| 115 | |
| 116 | ProbabilityTable<unsigned int, eVariableScope> *VariableSelector::scopeTable_ = NULL; |
| 117 |
nothing calls this directly
no test coverage detected