| 492 | } |
| 493 | |
| 494 | void BinaryReaderIR::SetBlockDeclaration(BlockDeclaration* decl, |
| 495 | Type sig_type) { |
| 496 | if (sig_type.IsIndex()) { |
| 497 | Index type_index = sig_type.GetIndex(); |
| 498 | SetFuncDeclaration(decl, Var(type_index, GetLocation())); |
| 499 | } else { |
| 500 | decl->has_func_type = false; |
| 501 | decl->sig.param_types.clear(); |
| 502 | decl->sig.result_types = sig_type.GetInlineVector(); |
| 503 | } |
| 504 | } |
| 505 | |
| 506 | std::string BinaryReaderIR::GetUniqueName(BindingHash* bindings, |
| 507 | const std::string& orig_name) { |
nothing calls this directly
no test coverage detected