mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +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
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