mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
LibWasm: Do not allow self-referencial globals
This is written in a somewhat roundabout way in the spec, so the initial implementation did not implement it correctly.
This commit is contained in:
parent
4f0f1c7c72
commit
8668851cb1
2 changed files with 15 additions and 1 deletions
|
@ -334,6 +334,7 @@ private:
|
|||
Vector<ChildScopeKind> m_entered_scopes;
|
||||
Vector<BlockDetails> m_block_details;
|
||||
Vector<FunctionType> m_entered_blocks;
|
||||
Vector<GlobalType> m_globals_without_internal_globals;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue