[IC] Make SeededNumberDictionary::UpdateMaxNumberKey prototype aware
authorjkummerow <jkummerow@chromium.org>
Fri, 7 Aug 2015 22:44:55 +0000 (15:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 22:45:13 +0000 (22:45 +0000)
commitdf9822f45aec113e1f557de27c3b0f9e44a57cc4
tree5a334b3a159e78745cf8955aea946f456fb89526
parenta45ed17bb6aca02e940f13bbf456d660cccc86ae
[IC] Make SeededNumberDictionary::UpdateMaxNumberKey prototype aware

Only walk the heap clearing KeyedStoreICs when the dictionary in question belongs to an object that's used as a prototype.
This is a temporary mitigation until we have a way to clear such ICs without having to walk the heap.

BUG=v8:4335
LOG=y
R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/1275363002

Cr-Commit-Position: refs/heads/master@{#30076}
src/elements.cc
src/lookup.cc
src/objects.cc
src/objects.h
src/runtime/runtime-array.cc