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

Issue 2282001: Various refactorings in interceptor calling and loading. (Closed)

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

Description

Various refactorings in interceptor calling and loading. 1) do not push receiver early---that simplifies tail call preparation on ia32/x64 and renders special cleanup unnecessary; 2) do not do second map check if interceptor's and cached holder are the same; 3) do not push/pop receiver if receiver and holder registers are the same (means that receiver is interceptor's holder); 4) do batch pushes on arm; 5) minor cosmetic improvements. Committed: http://code.google.com/p/v8/source/detail?r=4732

Patch Set 1 #

Patch Set 2 : Add an assertion to prove the omission of prototypes' check is safe #

Total comments: 2

Patch Set 3 : Addressing Soeren's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -122 lines) Patch
M src/arm/stub-cache-arm.cc View 1 2 5 chunks +49 lines, -42 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 6 chunks +29 lines, -38 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 6 chunks +31 lines, -42 lines 0 comments Download
M test/cctest/test-api.cc View 3 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
antonm
Søren, may you have a look?
10 years, 7 months ago (2010-05-26 12:51:15 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/2282001/diff/2001/3002 File src/ia32/stub-cache-ia32.cc (right): http://codereview.chromium.org/2282001/diff/2001/3002#newcode392 src/ia32/stub-cache-ia32.cc:392: Maybe outlining the stack here could be good. ...
10 years, 7 months ago (2010-05-26 13:27:49 UTC) #2
antonm
10 years, 7 months ago (2010-05-26 13:45:48 UTC) #3
All comments are updated as discussed on IM.

Thanks a lot for review, submitting.

Powered by Google App Engine
This is Rietveld 408576698