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

Issue 106453003: Allocation site support for monomorphic StringAdds in BinaryOps. (Closed)

Created:
7 years ago by Benedikt Meurer
Modified:
6 years, 11 months ago
CC:
v8-dev
Visibility:
Public.

Description

Allocation site support for monomorphic StringAdds in BinaryOps. R=mvstanton@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18431

Patch Set 1 : Clean version. #

Patch Set 2 : Fix NewStringAddStub flags bits. #

Total comments: 9

Patch Set 3 : Add ASSERTs. #

Patch Set 4 : Addressed Michael's comments. #

Total comments: 27

Patch Set 5 : Addressed comments. #

Patch Set 6 : REBASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+846 lines, -306 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 4 chunks +56 lines, -12 lines 0 comments Download
M src/ast.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 chunks +94 lines, -9 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 5 6 chunks +34 lines, -6 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 5 chunks +54 lines, -8 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 14 chunks +321 lines, -224 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 1 chunk +30 lines, -20 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 5 2 chunks +20 lines, -2 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 2 3 4 5 3 chunks +42 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/ic.h View 1 2 3 4 5 3 chunks +21 lines, -2 lines 0 comments Download
M src/ic.cc View 1 2 3 4 5 7 chunks +64 lines, -6 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M src/objects.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M src/type-info.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/type-info.cc View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M src/typing.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M src/x64/code-stubs-x64.cc View 1 2 3 4 5 4 chunks +53 lines, -12 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Benedikt Meurer
Hey guys, Here's my current state wrt StringAdd in BinaryOp. This covers only the monomorphic ...
7 years ago (2013-12-05 12:33:07 UTC) #1
Michael Starzinger
This change frightens an confuses me. But I lack the necessary context to give constructive ...
7 years ago (2013-12-09 23:12:27 UTC) #2
Benedikt Meurer
On 2013/12/09 23:12:27, Michael Starzinger wrote: > This change frightens an confuses me. But I ...
7 years ago (2013-12-10 10:18:05 UTC) #3
Benedikt Meurer
Hey Michael, Hannes, This is the version that should be ready to commit. Doesn't seem ...
7 years ago (2013-12-10 10:19:05 UTC) #4
mvstanton
Looks pretty good, I found an issue I think should be fixed first with HAllocate. ...
7 years ago (2013-12-11 08:15:29 UTC) #5
Benedikt Meurer
https://codereview.chromium.org/106453003/diff/60001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/106453003/diff/60001/src/hydrogen.cc#newcode8791 src/hydrogen.cc:8791: ? HAllocationMode(isolate()->heap()->GetPretenureMode()) On 2013/12/11 08:15:29, mvstanton wrote: > Maybe ...
7 years ago (2013-12-11 12:17:46 UTC) #6
Benedikt Meurer
https://codereview.chromium.org/106453003/diff/60001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/106453003/diff/60001/src/hydrogen.cc#newcode1947 src/hydrogen.cc:1947: size, HType::String(), STRING_TYPE, allocation_mode); See https://codereview.chromium.org/110443003/
7 years ago (2013-12-11 12:46:34 UTC) #7
Hannes Payer (out of office)
I just did a quick round, more comments later BUT:we need the InstanceType for HAllocate! ...
7 years ago (2013-12-11 13:12:22 UTC) #8
Benedikt Meurer
https://codereview.chromium.org/106453003/diff/100001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/106453003/diff/100001/src/arm/code-stubs-arm.cc#newcode339 src/arm/code-stubs-arm.cc:339: } Probably by accident. https://codereview.chromium.org/106453003/diff/100001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/106453003/diff/100001/src/hydrogen.cc#newcode1688 ...
7 years ago (2013-12-11 13:55:43 UTC) #9
mvstanton
Okay, getting closer! https://codereview.chromium.org/106453003/diff/100001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/106453003/diff/100001/src/hydrogen.cc#newcode1720 src/hydrogen.cc:1720: // equals the max smi valie. ...
7 years ago (2013-12-11 14:14:19 UTC) #10
Benedikt Meurer
Done. PTAL https://codereview.chromium.org/106453003/diff/100001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/106453003/diff/100001/src/hydrogen.cc#newcode1720 src/hydrogen.cc:1720: // equals the max smi valie. Otherwise, ...
7 years ago (2013-12-11 17:50:44 UTC) #11
mvstanton
Right on, LGTM, with these conditions :) 1) Rebase against the other CL you created ...
7 years ago (2013-12-12 10:51:31 UTC) #12
Benedikt Meurer
6 years, 11 months ago (2014-01-02 09:18:08 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 manually as r18431 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698