mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibJS: Actually mark uncacheable dictionary shapes as uncacheable
This commit is contained in:
parent
ba78e3d4be
commit
a21d247b0e
|
|
@ -40,7 +40,7 @@ GC::Ref<Shape> Shape::create_uncacheable_dictionary_transition()
|
|||
{
|
||||
auto new_shape = heap().allocate<Shape>(m_realm);
|
||||
new_shape->m_dictionary = true;
|
||||
new_shape->m_cacheable = true;
|
||||
new_shape->m_cacheable = false;
|
||||
new_shape->m_prototype = m_prototype;
|
||||
invalidate_prototype_if_needed_for_new_prototype(new_shape);
|
||||
ensure_property_table();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user