mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWasm: Remove unused current_module field
This commit is contained in:
committed by
Ali Mohammad Pur
parent
c4248a6f00
commit
f78fa73a48
Notes:
github-actions[bot]
2026-03-07 15:06:48 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/f78fa73a484 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8290 Reviewed-by: https://github.com/alimpfard
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user