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

Issue 487017: Refactor Reference so that SetValue and GetValue pop the reference state. (Closed)

Created:
11 years ago by William Hesse
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Refactor Reference so that SetValue and GetValue pop the reference state. Committed: http://code.google.com/p/v8/source/detail?r=3720

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 10

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 39

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Total comments: 6

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Total comments: 15

Patch Set 16 : Refactor Reference class so inline caches can take arguments in registers. #

Patch Set 17 : '' #

Total comments: 6

Patch Set 18 : '' #

Patch Set 19 : '' #

Patch Set 20 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+818 lines, -632 lines) Patch
M src/arm/codegen-arm.h View 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +33 lines, -18 lines 0 comments Download
M src/arm/codegen-arm.cc View 8 9 10 11 12 13 14 15 16 17 18 19 13 chunks +52 lines, -43 lines 0 comments Download
M src/ia32/codegen-ia32.h View 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +38 lines, -20 lines 0 comments Download
M src/ia32/codegen-ia32.cc View 8 9 10 11 12 13 14 15 16 17 18 19 19 chunks +326 lines, -263 lines 0 comments Download
M src/x64/codegen-x64.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +38 lines, -20 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 18 chunks +331 lines, -268 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
William Hesse
Design discussion: If Reference's constructor pushes the state on the stack, and GetValue and SetValue ...
11 years ago (2009-12-10 22:31:50 UTC) #1
Kevin Millikin (Chromium)
1. I don't know how well two different constructors will work because you have to ...
11 years ago (2009-12-11 09:50:46 UTC) #2
William Hesse
OK, working now except for initialization blocks with SetValue, TakeValue, and GetValue popping the reference ...
11 years ago (2009-12-12 00:04:07 UTC) #3
Kevin Millikin (Chromium)
Hi Bill, I haven't considered how easy it would be to do, but it seems ...
11 years ago (2009-12-14 13:48:09 UTC) #4
William Hesse
Added a straightforward fix for initialization blocks. I think I would like to get unloading ...
11 years ago (2009-12-15 01:31:57 UTC) #5
William Hesse
There is a strange stack overflow in mjsunit/array-reduce.js, and an error in arguments-apply.js.
11 years ago (2009-12-16 00:04:11 UTC) #6
William Hesse
OK, passes tests, seems to have no performance impact, is ready for review on X64 ...
11 years ago (2009-12-17 00:04:48 UTC) #7
Lasse Reichstein
The X64 change seems ok to me (without understanding it completely). There is no x64-specific ...
11 years ago (2009-12-17 09:59:02 UTC) #8
William Hesse
ia32 tested, arm almost finished. http://codereview.chromium.org/487017/diff/8006/10006 File src/x64/codegen-x64.cc (right): http://codereview.chromium.org/487017/diff/8006/10006#newcode2734 src/x64/codegen-x64.cc:2734: frame_->Push(&receiver); On 2009/12/17 09:59:02, ...
11 years ago (2009-12-18 08:16:55 UTC) #9
Kevin Millikin (Chromium)
I just commented on the x64 version (from patch set 7). It seems like the ...
11 years ago (2009-12-18 11:42:54 UTC) #10
William Hesse
http://codereview.chromium.org/487017/diff/8006/10006 File src/x64/codegen-x64.cc (right): http://codereview.chromium.org/487017/diff/8006/10006#newcode672 src/x64/codegen-x64.cc:672: // Frame[2]: the function Function.prototype.apply, or some other .apply ...
10 years, 11 months ago (2010-01-06 23:08:48 UTC) #11
William Hesse
Please look at CallApplyLazy in codegen-x64.cc.
10 years, 11 months ago (2010-01-12 16:30:04 UTC) #12
Kevin Millikin (Chromium)
http://codereview.chromium.org/487017/diff/18001/18002 File src/x64/codegen-x64.cc (right): http://codereview.chromium.org/487017/diff/18001/18002#newcode664 src/x64/codegen-x64.cc:664: Reference ref(this, apply); I still think you should get ...
10 years, 11 months ago (2010-01-13 10:40:26 UTC) #13
William Hesse
http://codereview.chromium.org/487017/diff/8006/10006 File src/x64/codegen-x64.cc (right): http://codereview.chromium.org/487017/diff/8006/10006#newcode1822 src/x64/codegen-x64.cc:1822: // unloading the reference itself (which preserves the top ...
10 years, 11 months ago (2010-01-13 12:59:56 UTC) #14
William Hesse
OK, the x64 and ia32 changes are in their final state, unless you find more ...
10 years, 11 months ago (2010-01-14 15:56:42 UTC) #15
Kevin Millikin (Chromium)
I didn't look at the arm code. It looks about right. My comments go for ...
10 years, 11 months ago (2010-01-14 16:50:55 UTC) #16
William Hesse
Complete, and finally done. Please suggest any changes you want, or sign off on it. ...
10 years, 11 months ago (2010-01-18 15:05:15 UTC) #17
Kevin Millikin (Chromium)
I'd still like you to get rid of the inaccurate comment before the Reference class. ...
10 years, 11 months ago (2010-01-22 09:09:45 UTC) #18
William Hesse
http://codereview.chromium.org/487017/diff/28009/20025 File src/arm/codegen-arm.cc (right): http://codereview.chromium.org/487017/diff/28009/20025#newcode3094 src/arm/codegen-arm.cc:3094: if (property->is_synthetic()) { On 2010/01/22 09:09:46, Kevin Millikin wrote: ...
10 years, 11 months ago (2010-01-27 10:27:05 UTC) #19
William Hesse
10 years, 11 months ago (2010-01-27 13:43:15 UTC) #20
OK, updated to latest V8 revision.

Powered by Google App Engine
This is Rietveld 408576698