Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Issue 8357010: Handlify the stub cache lookup and patching for CallIC and KeyedCallIC. (Closed)

Created:
9 years, 2 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Handlify the stub cache lookup and patching for CallIC and KeyedCallIC. R=ulan@chromium.org,vegorov@chromium.org BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=9729

Patch Set 1 #

Total comments: 8

Patch Set 2 : Do not assume functions are compiled when specializing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+636 lines, -782 lines) Patch
M src/arm/macro-assembler-arm.cc View 1 1 chunk +5 lines, -13 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 8 chunks +16 lines, -22 lines 0 comments Download
M src/debug.cc View 1 chunk +2 lines, -8 lines 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 1 1 chunk +5 lines, -12 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 12 chunks +21 lines, -29 lines 0 comments Download
M src/ic.h View 1 1 chunk +6 lines, -6 lines 0 comments Download
M src/ic.cc View 1 14 chunks +72 lines, -145 lines 0 comments Download
M src/objects.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M src/objects.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/stub-cache.h View 1 6 chunks +124 lines, -103 lines 0 comments Download
M src/stub-cache.cc View 1 32 chunks +353 lines, -388 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 1 1 chunk +6 lines, -19 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 10 chunks +19 lines, -26 lines 0 comments Download
M test/cctest/test-debug.cc View 2 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Kevin Millikin (Chromium)
Slava, could you also take a look at this? You can inspect the handle uses, ...
9 years, 2 months ago (2011-10-19 17:30:59 UTC) #1
Vyacheslav Egorov (Chromium)
I like the direction. I do not have any comments except some nits. http://codereview.chromium.org/8357010/diff/1/src/ic.cc File ...
9 years, 2 months ago (2011-10-20 10:12:23 UTC) #2
ulan
LGTM
9 years, 2 months ago (2011-10-20 10:20:43 UTC) #3
Kevin Millikin (Chromium)
Thanks for the comments. http://codereview.chromium.org/8357010/diff/1/src/ic.cc File src/ic.cc (right): http://codereview.chromium.org/8357010/diff/1/src/ic.cc#newcode1897 src/ic.cc:1897: On 2011/10/20 10:12:23, Vyacheslav Egorov ...
9 years, 2 months ago (2011-10-20 10:57:08 UTC) #4
Kevin Millikin (Chromium)
9 years, 2 months ago (2011-10-20 11:36:54 UTC) #5
New patch set uploaded with one significant change:

Before: we bailed out of compiling a specialized stub if the function was not
compiled and did not patch the IC (staying in the uninitialized or
premonomorphic state).  Then, we would specialize on the next call, after the
function was compiled, if the IC was ever hit again.

Now: we don't rely on this, so we can immediately specialize for lazily compiled
functions by always calling indirectly.  When Crankshaft is enabled we did this
anyway.

Powered by Google App Engine
This is Rietveld 408576698