mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
LibJS: Don't bother deferring GC during ensure_property_table()
This is not actually necessary, since no GC allocations are made during this process. If we ever make property tables into heap cells, we'd have to rethink this.
This commit is contained in:
parent
7ad8bb5be6
commit
2c0e153396
Notes:
sideshowbarker
2024-07-19 01:53:20 +09:00
Author: https://github.com/awesomekling
Commit: 2c0e153396
1 changed files with 0 additions and 2 deletions
|
@ -151,8 +151,6 @@ void Shape::ensure_property_table() const
|
|||
return;
|
||||
m_property_table = make<HashMap<StringOrSymbol, PropertyMetadata>>();
|
||||
|
||||
DeferGC defer(heap());
|
||||
|
||||
u32 next_offset = 0;
|
||||
|
||||
Vector<const Shape*, 64> transition_chain;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue