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

Issue 1109353003: Unify internal and external typed arrays a bit (Closed)

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

Description

Unify internal and external typed arrays a bit Just give internal ones an ArrayBuffer with a NULL backing store. This simplifies the access checks a lot. BUG=v8:3996 R=hpayer@chromium.org,verwaest@chromium.org LOG=n Committed: https://crrev.com/98140318fac953e675369d0e97dc8f8646324060 Cr-Commit-Position: refs/heads/master@{#28168}

Patch Set 1 #

Total comments: 1

Patch Set 2 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -105 lines) Patch
M include/v8.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/api.cc View 2 chunks +15 lines, -27 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/bootstrapper.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/contexts.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/factory.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/hydrogen.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/hydrogen.cc View 1 4 chunks +61 lines, -35 lines 0 comments Download
M src/hydrogen-instructions.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/mips64/lithium-codegen-mips64.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/objects.cc View 1 3 chunks +12 lines, -7 lines 0 comments Download
M src/objects-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ppc/lithium-codegen-ppc.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/runtime/runtime-typedarray.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/x87/lithium-codegen-x87.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
jochen (gone - plz use gerrit)
5 years, 7 months ago (2015-04-29 13:34:49 UTC) #1
jochen (gone - plz use gerrit)
Hannes, can you look esp. at HGraphBuild::BuildAllocateEmptyArrayBuffer? I'm adding the MakePrefillWithFiller() call to get a ...
5 years, 7 months ago (2015-04-29 13:38:31 UTC) #2
Benedikt Meurer
While I can see the point of the optimization, I'm pretty sure the correct fix ...
5 years, 7 months ago (2015-04-30 08:16:37 UTC) #4
Hannes Payer (out of office)
kbr, could you point us to benchmarks where the on heap typed array provides a ...
5 years, 7 months ago (2015-04-30 09:25:13 UTC) #6
jochen (gone - plz use gerrit)
On 2015/04/30 at 09:25:13, hpayer wrote: > kbr, could you point us to benchmarks where ...
5 years, 7 months ago (2015-04-30 09:28:22 UTC) #7
Hannes Payer (out of office)
https://codereview.chromium.org/1109353003/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/1109353003/diff/1/src/hydrogen.cc#newcode9701 src/hydrogen.cc:9701: result->MakePrefillWithFiller(); Make prefill with filler is not the right ...
5 years, 7 months ago (2015-04-30 10:50:18 UTC) #8
jochen (gone - plz use gerrit)
done, ptal
5 years, 7 months ago (2015-04-30 12:46:32 UTC) #9
Hannes Payer (out of office)
lgtm
5 years, 7 months ago (2015-04-30 13:26:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1109353003/20001
5 years, 7 months ago (2015-04-30 13:28:11 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-04-30 13:46:34 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-04-30 13:46:51 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/98140318fac953e675369d0e97dc8f8646324060
Cr-Commit-Position: refs/heads/master@{#28168}

Powered by Google App Engine
This is Rietveld 408576698