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

Issue 242050: Changed structure of accessor arguments passing to allow accessor (Closed)

Created:
11 years, 2 months ago by Christian Plesner Hansen
Modified:
9 years, 7 months ago
Reviewers:
iposva, Erik Corry, antonm
CC:
v8-dev
Visibility:
Public.

Description

Changed structure of accessor arguments passing to allow accessor callbacks to be called directly from native code.

Patch Set 1 #

Total comments: 9

Patch Set 2 : Review fixes #

Total comments: 2

Patch Set 3 : Tuned #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -140 lines) Patch
M include/v8.h View 1 2 4 chunks +19 lines, -22 lines 0 comments Download
M src/api.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/arguments.h View 1 2 2 chunks +26 lines, -0 lines 4 comments Download
M src/handles.cc View 1 2 3 chunks +10 lines, -10 lines 0 comments Download
M src/heap.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 1 chunk +25 lines, -6 lines 4 comments Download
M src/objects.cc View 1 2 13 chunks +81 lines, -71 lines 0 comments Download
M src/stub-cache.cc View 1 2 6 chunks +13 lines, -28 lines 0 comments Download
M src/v8threads.cc View 4 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Christian Plesner Hansen
This code is pending performance numbers -- it's expected to be more or less a ...
11 years, 2 months ago (2009-09-29 15:33:27 UTC) #1
antonm
Very cool http://codereview.chromium.org/242050/diff/1/4 File src/arguments.h (right): http://codereview.chromium.org/242050/diff/1/4#newcode73 Line 73: // Cursom arguments replicate a small ...
11 years, 2 months ago (2009-09-29 15:49:38 UTC) #2
Christian Plesner Hansen
http://codereview.chromium.org/242050/diff/1/9 File src/stub-cache.cc (right): http://codereview.chromium.org/242050/diff/1/9#newcode792 Line 792: Object* LoadPropertyWithInterceptorOnly(Arguments args) { No need, a CustomArguments ...
11 years, 2 months ago (2009-09-29 16:38:45 UTC) #3
antonm
http://codereview.chromium.org/242050/diff/1/9 File src/stub-cache.cc (right): http://codereview.chromium.org/242050/diff/1/9#newcode792 Line 792: Object* LoadPropertyWithInterceptorOnly(Arguments args) { On 2009/09/29 16:38:46, Christian ...
11 years, 2 months ago (2009-09-29 16:41:11 UTC) #4
Christian Plesner Hansen
http://codereview.chromium.org/242050/diff/1/9 File src/stub-cache.cc (right): http://codereview.chromium.org/242050/diff/1/9#newcode792 Line 792: Object* LoadPropertyWithInterceptorOnly(Arguments args) { > They are, but ...
11 years, 2 months ago (2009-09-29 17:13:33 UTC) #5
antonm
http://codereview.chromium.org/242050/diff/1/9 File src/stub-cache.cc (right): http://codereview.chromium.org/242050/diff/1/9#newcode792 Line 792: Object* LoadPropertyWithInterceptorOnly(Arguments args) { On 2009/09/29 17:13:33, Christian ...
11 years, 2 months ago (2009-09-29 17:22:20 UTC) #6
Christian Plesner Hansen
http://codereview.chromium.org/242050/diff/1/9 File src/stub-cache.cc (right): http://codereview.chromium.org/242050/diff/1/9#newcode792 Line 792: Object* LoadPropertyWithInterceptorOnly(Arguments args) { The reason I kept ...
11 years, 2 months ago (2009-09-29 17:32:25 UTC) #7
Christian Plesner Hansen
http://codereview.chromium.org/242050/diff/1/4 File src/arguments.h (right): http://codereview.chromium.org/242050/diff/1/4#newcode73 Line 73: // Cursom arguments replicate a small segment of ...
11 years, 2 months ago (2009-09-30 07:53:04 UTC) #8
Erik Corry
LGTM http://codereview.chromium.org/242050/diff/14/17 File src/arguments.h (right): http://codereview.chromium.org/242050/diff/14/17#newcode82 Line 82: operator[](0) = self; Funky syntax! http://codereview.chromium.org/242050/diff/14/22 File ...
11 years, 2 months ago (2009-09-30 11:41:33 UTC) #9
iposva
11 years, 2 months ago (2009-09-30 22:19:05 UTC) #10
Drive by comments!

-Ivan

http://codereview.chromium.org/242050/diff/5002/7003
File src/arguments.h (right):

http://codereview.chromium.org/242050/diff/5002/7003#newcode66
Line 66: 
Presubmit Check: Fail

http://codereview.chromium.org/242050/diff/5002/7003#newcode75
Line 75: // Cursom arguments replicate a small segment of stack that can be
Cursom -> Custom

http://codereview.chromium.org/242050/diff/5002/7003#newcode79
Line 79: public:
Presubmit Check: Fail

http://codereview.chromium.org/242050/diff/5002/7003#newcode90
Line 90: private:
Presubmit Check: Fail

http://codereview.chromium.org/242050/diff/5002/7007
File src/objects.h (right):

http://codereview.chromium.org/242050/diff/5002/7007#newcode4223
Line 4223: // on gc.  It provides two ways for the gc to update instances,
either
gc -> GC

http://codereview.chromium.org/242050/diff/5002/7007#newcode4226
Line 4226: public:
Presubmit Check: Fail

http://codereview.chromium.org/242050/diff/5002/7007#newcode4228
Line 4228: virtual ~Relocatable() { ASSERT_EQ(top_, this); top_ = prev_; }
Presubmit Check: Fail

http://codereview.chromium.org/242050/diff/5002/7007#newcode4239
Line 4239: private:
Presubmit Check: Fail

Powered by Google App Engine
This is Rietveld 408576698