Use null instead of undefined for deleted elements in code caches.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 18 Sep 2008 11:18:27 +0000 (11:18 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 18 Sep 2008 11:18:27 +0000 (11:18 +0000)
commit57e2aa1b261389fbaadaab83c75b3f0156973452
tree70fac9d4aad1812a86bd3f97f8d06e1adde60daf
parentcb4ea56368d602a7da67371f5187bca77d38615d
Use null instead of undefined for deleted elements in code caches.
Update the lookup and update code for code caches to deal with deleted
elements.

Do not clear the code cache for the builtins object.  If there was a
matching element in the code cache, we would have hit the monomorphic
prototype failure case and removed it.
Review URL: http://codereview.chromium.org/3140

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@340 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ic.cc
src/objects-inl.h
src/objects.cc
src/objects.h