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

Issue 140069: Store a lookup result when compiling interceptor ICs.... (Closed)

Created:
11 years, 6 months ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Compile precanned answers for the case of failed interceptor for some combinations. Committed: http://code.google.com/p/v8/source/detail?r=2577

Patch Set 1 #

Total comments: 9

Patch Set 2 : '' #

Total comments: 9

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 18

Patch Set 5 : '' #

Total comments: 8

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 36

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 2

Patch Set 13 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+482 lines, -173 lines) Patch
M src/arm/stub-cache-arm.cc View 6 7 8 9 10 5 chunks +9 lines, -7 lines 0 comments Download
M src/heap.h View 11 12 1 chunk +1 line, -0 lines 0 comments Download
M src/heap.cc View 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +357 lines, -68 lines 0 comments Download
M src/ic.h View 2 3 4 5 6 7 8 9 10 1 chunk +13 lines, -11 lines 0 comments Download
M src/objects.h View 1 2 3 6 7 8 10 1 chunk +0 lines, -4 lines 0 comments Download
M src/objects-debug.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects-inl.h View 6 7 8 9 10 1 chunk +0 lines, -18 lines 0 comments Download
M src/stub-cache.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -9 lines 0 comments Download
M src/stub-cache.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +84 lines, -55 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
antonm
11 years, 6 months ago (2009-06-22 15:43:25 UTC) #1
Mads Ager (chromium)
Hi Anton, this looks like a good start. Avoiding the extra lookups post interceptor looks ...
11 years, 6 months ago (2009-06-23 09:00:19 UTC) #2
antonm
Guys, may you have a look at another pass? I think that no getter interceptor ...
11 years, 5 months ago (2009-06-29 12:03:43 UTC) #3
Mads Ager (chromium)
Overall this looks good. There is a lot of code for generating the IC stubs ...
11 years, 5 months ago (2009-06-30 09:22:28 UTC) #4
Mads Ager (chromium)
http://codereview.chromium.org/140069/diff/3001/3002 File src/ia32/stub-cache-ia32.cc (right): http://codereview.chromium.org/140069/diff/3001/3002#newcode429 Line 429: masm->CheckMaps(holder, eax, GetLastJSObjectProto(holder), On 2009/06/30 09:22:28, Mads Ager ...
11 years, 5 months ago (2009-06-30 09:23:21 UTC) #5
antonm
Mads, I hope I've addressed all your comments. Tnx a lot for suggestion to simplify ...
11 years, 5 months ago (2009-07-03 00:09:45 UTC) #6
Mads Ager (chromium)
Another batch of comments. I think we are getting there. Thanks for doing the statistics ...
11 years, 5 months ago (2009-07-03 07:54:23 UTC) #7
Mads Ager (chromium)
A couple of thinks I forgot: I think I missed the place where you actually ...
11 years, 5 months ago (2009-07-03 07:58:11 UTC) #8
antonm
Mads, tnx a lot for review! I've added more tests to cover all the cases ...
11 years, 5 months ago (2009-07-03 14:41:01 UTC) #9
Mads Ager (chromium)
LGTM once you make it compile on ARM and x64. http://codereview.chromium.org/140069/diff/5032/6015 File src/ia32/stub-cache-ia32.cc (right): http://codereview.chromium.org/140069/diff/5032/6015#newcode437 ...
11 years, 5 months ago (2009-07-07 12:16:56 UTC) #10
antonm
Mads, thanks a lot for review! I've reran tests and curiously release mode tests for ...
11 years, 5 months ago (2009-07-07 21:45:20 UTC) #11
antonm
Apparently it was a bad idea to push holder out of internal frame---with stuff moved ...
11 years, 5 months ago (2009-07-09 12:24:37 UTC) #12
Mads Ager (chromium)
LGTM
11 years, 5 months ago (2009-07-09 15:06:40 UTC) #13
Kasper Lund
If you change the CheckMaps to CheckPrototypes and add a few tests of why that ...
11 years, 5 months ago (2009-07-15 07:01:35 UTC) #14
antonm
Kasper, tnx a lot for review! Hopefully addressed everything. I reworked a bit case with ...
11 years, 5 months ago (2009-07-15 10:21:14 UTC) #15
Kasper Lund
LGTM.
11 years, 5 months ago (2009-07-15 10:44:38 UTC) #16
antonm
11 years, 4 months ago (2009-07-29 09:35:11 UTC) #17
Kasper Lund
You should change the none_value name. It's too generic. Other than that it still LGTM. ...
11 years, 4 months ago (2009-07-29 10:02:37 UTC) #18
antonm
11 years, 4 months ago (2009-07-29 12:20:54 UTC) #19
Thanks a lot, everyone!

Submitting

http://codereview.chromium.org/140069/diff/8019/8028
File src/heap.h (right):

http://codereview.chromium.org/140069/diff/8019/8028#newcode113
Line 113: V(Object, none_value, NoneValue)                                      
      \
On 2009/07/29 10:02:37, Kasper Lund wrote:
> I think you should call this something else. This is too generic for my
liking.
> How about something like no_interceptor_result_sentinel?

Done.

Powered by Google App Engine
This is Rietveld 408576698