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

Issue 1244693002: Add support for adding an external and a tagged pointer (Closed)

Created:
5 years, 5 months ago by jochen (gone - plz use gerrit)
Modified:
5 years, 5 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add support for adding an external and a tagged pointer This will be used to compute the base pointer of the new unified representation for both on-heap and external typed arrays. The idea is that either the external or the tagged pointer is 0 (although in practice, if the tagged pointer is non-0, the external pointer will contain the offset from the start of the on-heap typed array to the data in the on-heap typed array). The HAdd is marked as depending on new-space promotion, as the tagged pointer might move during GC, and so the result of the addition needs to be recomputed. BUG=v8:3996 R=jarin@chromium.org LOG=n Committed: https://crrev.com/4e263bc581081c1fa925554943693f3e386fc815 Cr-Commit-Position: refs/heads/master@{#29760}

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 2

Patch Set 3 : updates #

Patch Set 4 : updates #

Patch Set 5 : updates #

Total comments: 2

Patch Set 6 : updates #

Patch Set 7 : updates #

Total comments: 1

Patch Set 8 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -19 lines) Patch
M src/arm/lithium-arm.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M src/arm64/lithium-arm64.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 3 chunks +45 lines, -2 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 2 chunks +16 lines, -1 line 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M src/mips/lithium-mips.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M src/mips64/lithium-mips64.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M src/ppc/lithium-ppc.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M src/x87/lithium-x87.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
jochen (gone - plz use gerrit)
5 years, 5 months ago (2015-07-20 07:27:37 UTC) #1
Jarin
Scary stuff. It looks ok, but fairly brittle. Adding mstarzinger@ to have a look. https://codereview.chromium.org/1244693002/diff/20001/src/hydrogen-instructions.h ...
5 years, 5 months ago (2015-07-20 08:52:32 UTC) #3
Michael Starzinger
https://codereview.chromium.org/1244693002/diff/20001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/1244693002/diff/20001/src/hydrogen-instructions.h#newcode4890 src/hydrogen-instructions.h:4890: right->representation().IsTagged()) { On 2015/07/20 08:52:32, jarin wrote: > This ...
5 years, 5 months ago (2015-07-20 08:56:38 UTC) #4
jochen (gone - plz use gerrit)
done, ptal
5 years, 5 months ago (2015-07-20 09:37:54 UTC) #5
Jarin
lgtm. Even though it would be even better if - all the DCHECKs took into ...
5 years, 5 months ago (2015-07-20 11:23:58 UTC) #6
Jarin
Looks even better, I still have two suggestions, but it is up to you. https://codereview.chromium.org/1244693002/diff/80001/src/hydrogen-instructions.h ...
5 years, 5 months ago (2015-07-20 14:17:56 UTC) #7
jochen (gone - plz use gerrit)
ptal
5 years, 5 months ago (2015-07-20 14:35:06 UTC) #8
Jarin
looks good with one final nit https://codereview.chromium.org/1244693002/diff/120001/src/mips/lithium-mips.cc File src/mips/lithium-mips.cc (right): https://codereview.chromium.org/1244693002/diff/120001/src/mips/lithium-mips.cc#newcode1625 src/mips/lithium-mips.cc:1625: DCHECK(instr->left()->representation().IsExternal()); You can ...
5 years, 5 months ago (2015-07-20 14:51:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1244693002/140001
5 years, 5 months ago (2015-07-20 14:53:37 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 5 months ago (2015-07-20 15:17:56 UTC) #13
commit-bot: I haz the power
5 years, 5 months ago (2015-07-20 15:18:10 UTC) #14
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/4e263bc581081c1fa925554943693f3e386fc815
Cr-Commit-Position: refs/heads/master@{#29760}

Powered by Google App Engine
This is Rietveld 408576698