Reviewers: Yang,

Description:
Fasterify JSObject::UnregisterPrototypeUser

When a (prototype) map registers as a user of its own prototype, it now
remembers the index in that prototype's registry where it is listed.
This remembered index is used on un-registration to find the right slot to clear
without walking the entire registry.
Compaction of the registry must update all entries' remembered indices.

BUG=chromium:517778,chromium:517406
LOG=n
[email protected]

Please review this at https://codereview.chromium.org/1276353004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+150, -125 lines):
  M src/factory.cc
  M src/objects.h
  M src/objects.cc
  M src/objects-inl.h
  M src/objects-printer.cc
  M src/snapshot/serialize.cc


--
--
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.

Reply via email to