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

Issue 155682: Get rid of unnecessary handle management when invoking interceptors. (Closed)

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

Description

Get rid of unnecessary handle management when invoking interceptors. Committed: http://code.google.com/p/v8/source/detail?r=2562

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 7

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 6

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -109 lines) Patch
M src/arm/stub-cache-arm.cc View 3 4 1 chunk +8 lines, -1 line 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 3 4 3 chunks +35 lines, -12 lines 0 comments Download
M src/objects.h View 2 chunks +0 lines, -10 lines 0 comments Download
M src/objects.cc View 6 7 2 chunks +5 lines, -76 lines 0 comments Download
M src/stub-cache.cc View 1 2 3 4 5 6 7 1 chunk +61 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Kasper Lund
If you clean this up a bit (too long lines) and remove GetInterceptorPropertyWithLookupHint from objects.{h,cc} ...
11 years, 5 months ago (2009-07-17 08:27:20 UTC) #1
Kasper Lund
Retracting my LGTM: http://codereview.chromium.org/155682/diff/4/1005 File src/ia32/stub-cache-ia32.cc (right): http://codereview.chromium.org/155682/diff/4/1005#newcode516 Line 516: __ push(Immediate(reinterpret_cast<int>(getter))); This is not ...
11 years, 5 months ago (2009-07-17 08:46:27 UTC) #2
antonm
11 years, 4 months ago (2009-07-28 12:35:34 UTC) #3
antonm
Kasper, I hope that addresses all your comments. All, I dropped couple of micro-optimizations (direct ...
11 years, 4 months ago (2009-07-28 12:37:17 UTC) #4
Kasper Lund
I think my main concerns are addressed. Christian or Vitaly should take a final look ...
11 years, 4 months ago (2009-07-28 12:52:24 UTC) #5
Christian Plesner Hansen
Lgtm
11 years, 4 months ago (2009-07-28 13:44:56 UTC) #6
Vitaly Repeshko
LGTM. http://codereview.chromium.org/155682/diff/2027/2031 File src/objects.cc (right): http://codereview.chromium.org/155682/diff/2027/2031#newcode6038 Line 6038: HandleScope scope; Consider moving handle stuff one ...
11 years, 4 months ago (2009-07-28 13:54:24 UTC) #7
antonm
11 years, 4 months ago (2009-07-28 14:22:01 UTC) #8
Thank you very much for review!

Submitting.

http://codereview.chromium.org/155682/diff/2027/2031
File src/objects.cc (right):

http://codereview.chromium.org/155682/diff/2027/2031#newcode6038
Line 6038: HandleScope scope;
On 2009/07/28 13:54:25, Vitaly wrote:
> Consider moving handle stuff one level up (as it was before). The move doesn't
> slow down the case we care about and makes the code considerably simpler.

Done.

http://codereview.chromium.org/155682/diff/2027/2031#newcode6067
Line 6067: Object* result = holder->GetPropertyPostInterceptor(receiver, name,
attributes);
On 2009/07/28 13:54:25, Vitaly wrote:
> Line too long.

Done.

http://codereview.chromium.org/155682/diff/2027/2029
File src/stub-cache.cc (right):

http://codereview.chromium.org/155682/diff/2027/2029#newcode807
Line 807: {
On 2009/07/28 13:54:25, Vitaly wrote:
> Document the block, e.g. "Use the interceptor getter".

Done.

Powered by Google App Engine
This is Rietveld 408576698