Reviewers: Mads Ager, antonm,

Description:
Reapplying r5147 (caching maps for slow case objects).

r5147 wrongly assumed that a code cache for a slow case map is always empty.
This patch solves this: whenever we attempt to add a stub to a map's code cache
we check that this map is cached. If it is we give the object its own copy
of the map and only then modify the map.


Please review this at http://codereview.chromium.org/3134027/show

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/bootstrapper.cc
  M     src/contexts.h
  M     src/heap.h
  M     src/heap.cc
  M     src/ic-inl.h
  M     src/ic.h
  M     src/ic.cc
  M     src/objects-debug.cc
  M     src/objects-inl.h
  M     src/objects.h
  M     src/objects.cc
  M     src/stub-cache.cc
  M     src/v8-counters.h


--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to