| 248 | } |
| 249 | |
| 250 | Index Func::GetLocalIndex(const Var& var) const { |
| 251 | if (var.is_index()) { |
| 252 | return var.index(); |
| 253 | } |
| 254 | return bindings.FindIndex(var); |
| 255 | } |
| 256 | |
| 257 | const Func* Module::GetFunc(const Var& var) const { |
| 258 | return const_cast<Module*>(this)->GetFunc(var); |
no test coverage detected