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

Issue 360054: Enable writes and reads of context slots in fast compiler. (Closed)

Created:
11 years, 1 month ago by William Hesse
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry, fschneider
CC:
v8-dev
Visibility:
Public.

Description

Enable writes and reads of context slots in fast compiler. Committed: http://code.google.com/p/v8/source/detail?r=3242

Patch Set 1 #

Total comments: 15

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 3

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+412 lines, -114 lines) Patch
M src/arm/fast-codegen-arm.cc View 2 3 4 4 chunks +136 lines, -37 lines 0 comments Download
M src/compiler.cc View 1 2 3 3 chunks +16 lines, -4 lines 0 comments Download
M src/ia32/fast-codegen-ia32.cc View 2 3 4 3 chunks +129 lines, -36 lines 0 comments Download
M src/x64/fast-codegen-x64.cc View 1 2 3 4 3 chunks +131 lines, -37 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
William Hesse
Only on x64 so far.
11 years, 1 month ago (2009-11-05 16:21:59 UTC) #1
Kevin Millikin (Chromium)
http://codereview.chromium.org/360054/diff/1/2 File src/compiler.cc (right): http://codereview.chromium.org/360054/diff/1/2#newcode651 Line 651: if (var->mode() == Variable::CONST) { You should not ...
11 years, 1 month ago (2009-11-05 16:53:50 UTC) #2
William Hesse
Now working on all platforms. Erik, can you look at the arm code inside FLAG_debug_code ...
11 years, 1 month ago (2009-11-06 13:53:30 UTC) #3
William Hesse
Now tested and working on all platforms. I added the code to go from a ...
11 years, 1 month ago (2009-11-09 08:53:27 UTC) #4
fschneider
LGTM. http://codereview.chromium.org/360054/diff/5005/4009 File src/arm/fast-codegen-arm.cc (right): http://codereview.chromium.org/360054/diff/5005/4009#newcode828 Line 828: __ tst(r0, Operand(kSmiTagMask)); Do we have to ...
11 years, 1 month ago (2009-11-09 09:27:17 UTC) #5
William Hesse
11 years, 1 month ago (2009-11-09 14:02:16 UTC) #6
http://codereview.chromium.org/360054/diff/5005/4009
File src/arm/fast-codegen-arm.cc (right):

http://codereview.chromium.org/360054/diff/5005/4009#newcode828
Line 828: __ tst(r0, Operand(kSmiTagMask));
On 2009/11/09 09:27:17, fschneider wrote:
> Do we have to test for SMI before the write barrier here? We don't do this in
> all cases where we emit the write barrier.
> Maybe this is an optimization we may want to add later?

Added comment explaining this.  We should add the smi check to RecordWrite.

Powered by Google App Engine
This is Rietveld 408576698