LibWasm: Remove unused current_module field

This commit is contained in:
Jelle Raaijmakers
2026-03-06 13:47:18 +01:00
committed by Ali Mohammad Pur
parent c4248a6f00
commit f78fa73a48
Notes: github-actions[bot] 2026-03-07 15:06:48 +00:00
2 changed files with 0 additions and 3 deletions

View File

@@ -108,8 +108,6 @@ ErrorOr<void, ValidationError> Validator::validate(Module& module)
for (auto& tag : module.tag_section().tags())
m_context.tags.append(TagType(tag.type(), tag.flags()));
m_context.current_module = &module;
// We need to build the set of declared functions to check that `ref.func` uses a specific set of predetermined functions, found in:
// - Element initializer expressions
// - Global initializer expressions