Reviewers: Toon Verwaest,
Description:
Optimize Object.seal: now runs fast and allows objects to remain in fast
mode
This almost entirely reuses the code for transitioning objects
frozen by Object.freeze(), with the added benefit of freeing
up a bit on the map (we no longer keep track of frozen-ness,
as that bit wasn't used for anything interesting).
BUG=v8:3662,chromium:115960
LOG=y
Please review this at https://codereview.chromium.org/776143005/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+254, -85 lines):
M src/heap/heap.h
M src/objects.h
M src/objects.cc
M src/objects-inl.h
M src/objects-printer.cc
M src/runtime/runtime.h
M src/runtime/runtime-object.cc
M src/v8natives.js
M test/mjsunit/object-seal.js
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.