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

Issue 56151: Rewrite of VisitCountOperation that should speed it up (Closed)

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

Description

Rewrite of VisitCountOperation that should speed it up Committed: http://code.google.com/p/v8/source/detail?r=1677

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 7

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -293 lines) Patch
M src/builtins.h View 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M src/codegen-arm.cc View 4 5 3 chunks +15 lines, -46 lines 0 comments Download
M src/codegen-ia32.cc View 1 2 3 4 5 6 chunks +38 lines, -112 lines 0 comments Download
M src/runtime.js View 4 5 1 chunk +0 lines, -12 lines 0 comments Download
M src/virtual-frame-ia32.h View 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
D test/mjsunit/compare-constants.js View 1 chunk +0 lines, -121 lines 0 comments Download
A test/mjsunit/constant-folding.js View 1 chunk +171 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
William Hesse
11 years, 8 months ago (2009-04-01 16:12:48 UTC) #1
Kevin Millikin (Chromium)
I guess you're still working on a different approach, so I'll hold off an a ...
11 years, 8 months ago (2009-04-02 09:24:46 UTC) #2
William Hesse
New version uploaded, comments addressed. The ToRegister is back to its even more eager previous ...
11 years, 8 months ago (2009-04-02 11:21:03 UTC) #3
Kevin Millikin (Chromium)
As we discussed, it might be good to try to avoid calling to number via ...
11 years, 8 months ago (2009-04-02 12:39:32 UTC) #4
William Hesse
ARM code generator has also been changed, to eliminate INC and DEC builtin. http://codereview.chromium.org/56151/diff/1007/8 File ...
11 years, 8 months ago (2009-04-03 09:41:55 UTC) #5
Kevin Millikin (Chromium)
11 years, 8 months ago (2009-04-03 11:59:42 UTC) #6
LGTM, but you should add a mjsunit test for at least the var x = "string"; x++
case.

You could also preemptively run the Webkit layout tests
fast/js/codegen-temporaries and fast/js/constant-folding.

http://codereview.chromium.org/56151/diff/1014/1015
File src/codegen-ia32.cc (right):

http://codereview.chromium.org/56151/diff/1014/1015#newcode4759
Line 4759: // by a new register explicitly, to optimize the fast case.
The comment about the new register seems out of place here.  I'd get rid of it.

Powered by Google App Engine
This is Rietveld 408576698