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

Issue 2046333002: Revert "Revert of [builtins] Properly optimize TypedArray/DataView accessors. (patchset #3 id:40001… (Closed)

Created:
4 years, 6 months ago by gsathya
Modified:
4 years, 6 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Revert "Revert of [builtins] Properly optimize TypedArray/DataView accessors. (patchset #3 id:40001 of https://codereview.chromium.org/2042013003/ )" This reverts commit d3a43e47dd740c9010b39e6e765f624696ce3b56. This patch also adds typed_array_fun and typed_array_protoype to the native context. These are used in InstallTypedArray to set up the prototype chain correctly for each typed array sub class. This removes the need to later monkey patch them prototype chain in typedarray.js. This mechanism is also used to get hold of the TypedArray in typedarray.js, removing the need for a global TypedArray. This patch updates CallRuntime.golden to account for the two extra native runtime calls. This patch also fixes some formatting issues (by running git cl format). BUG=chromium:579905, chromium:593634, v8:4085, v8:5073 Committed: https://crrev.com/3c927e07b022e31732e81610446714501474789d Cr-Commit-Position: refs/heads/master@{#36811}

Patch Set 1 #

Patch Set 2 : Remove TypedArray from global object #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -234 lines) Patch
M src/bootstrapper.cc View 1 6 chunks +110 lines, -8 lines 0 comments Download
M src/builtins.h View 4 chunks +36 lines, -18 lines 0 comments Download
M src/builtins.cc View 1 chunk +113 lines, -0 lines 0 comments Download
M src/code-stubs.h View 2 chunks +0 lines, -26 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M src/compiler/access-info.h View 1 5 chunks +1 line, -15 lines 0 comments Download
M src/compiler/access-info.cc View 1 4 chunks +8 lines, -14 lines 0 comments Download
M src/compiler/js-native-context-specialization.cc View 1 chunk +0 lines, -25 lines 0 comments Download
M src/contexts.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/counters.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/crankshaft/hydrogen.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 14 chunks +74 lines, -17 lines 0 comments Download
M src/heap-symbols.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ic/handler-compiler.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/js/typedarray.js View 1 6 chunks +12 lines, -91 lines 0 comments Download
M src/objects.h View 2 chunks +10 lines, -1 line 0 comments Download
M src/objects.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/runtime/runtime-typedarray.cc View 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CallRuntime.golden View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2046333002/20001
4 years, 6 months ago (2016-06-08 07:02:44 UTC) #2
gsathya
Patchset 1 contains the initial patch which was reverted. Patchset 2 contains the fix which ...
4 years, 6 months ago (2016-06-08 07:21:07 UTC) #8
Benedikt Meurer
LGTM.
4 years, 6 months ago (2016-06-08 07:25:31 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-08 07:31:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2046333002/20001
4 years, 6 months ago (2016-06-08 07:38:06 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-08 07:40:17 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3c927e07b022e31732e81610446714501474789d Cr-Commit-Position: refs/heads/master@{#36811}
4 years, 6 months ago (2016-06-08 07:40:42 UTC) #17
Toon Verwaest
Next time please update the topic from the generically generated name to something like: Reland ...
4 years, 6 months ago (2016-06-08 09:24:44 UTC) #19
gsathya
4 years, 6 months ago (2016-06-09 23:12:25 UTC) #20
Message was sent while issue was closed.
On 2016/06/08 09:24:44, Toon Verwaest wrote:
> Next time please update the topic from the generically generated name to
> something like: Reland of ... Otherwise it's hard to keep track of Revert of
> revert of revert of revert ...

ACK, thanks for the heads up!

Powered by Google App Engine
This is Rietveld 408576698