Change the updating of the counters for global stub use to be consistent. Now counter...
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 28 Jul 2009 11:42:18 +0000 (11:42 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 28 Jul 2009 11:42:18 +0000 (11:42 +0000)
commit422b02717eb10c74cf629faebdf427bf84ccd11e
treee1df65525a6df6d933a35f355fa8573ea15cb6e1
parentc41447f216d93db5c01a6b11d0e2803f0dad1330
Change the updating of the counters for global stub use to be consistent. Now counters are updated when they are sure to count to avoid decrementing them when there is a miss.
Review URL: http://codereview.chromium.org/160265

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2554 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/stub-cache-arm.cc
src/ia32/stub-cache-ia32.cc
src/x64/stub-cache-x64.cc