Try to make the contextuality check in the IC code faster
authorkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Dec 2009 09:54:13 +0000 (09:54 +0000)
committerkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Dec 2009 09:54:13 +0000 (09:54 +0000)
commit4839eb611fe191f6b2e9eff838aff1951da6d358
tree072c952d28448545e66f36f8f3afa057333483ad
parentf74429b917ff7630a914b81af60eb4524c2e2471
Try to make the contextuality check in the IC code faster
by checking if the receiver is a global object before diving
into traversing reloc info.
Review URL: http://codereview.chromium.org/491075

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