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

Issue 1183213002: Inline code generation for %_IsTypedArray (Closed)

Created:
5 years, 6 months ago by Dan Ehrenberg
Modified:
5 years, 6 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

Inline code generation for %_IsTypedArray This patch implements %_IsTypedArray in fullcodegen, Hydrogen and Turbofan in order to implement fast type checks to enable ES6 TypedArray features and semantics efficiently. R=adamk,titzer LOG=Y BUG=v8:4085 Committed: https://crrev.com/350a70e5ef4262baf912f09389f1eb1d1aa9f842 Cr-Commit-Position: refs/heads/master@{#29033}

Patch Set 1 #

Patch Set 2 : fullcodegen on all platforms; turbofan typer #

Total comments: 2

Patch Set 3 : don't remove mips64 EmitIsArray #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -21 lines) Patch
M src/arm/full-codegen-arm.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M src/compiler/js-intrinsic-lowering.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/full-codegen.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/harmony-typedarray.js View 18 chunks +18 lines, -18 lines 0 comments Download
M src/hydrogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/hydrogen.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 chunks +22 lines, -1 line 0 comments Download
M src/mips/full-codegen-mips.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M src/mips64/full-codegen-mips64.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M src/ppc/full-codegen-ppc.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
M src/typedarray.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/x64/full-codegen-x64.cc View 1 chunk +22 lines, -0 lines 0 comments Download
M src/x87/full-codegen-x87.cc View 1 2 chunks +22 lines, -1 line 0 comments Download
M test/unittests/compiler/js-intrinsic-lowering-unittest.cc View 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
Dan Ehrenberg
I couldn't figure out how to run the Turbofan tests. tools/run-tests.py didn't seem to work. ...
5 years, 6 months ago (2015-06-15 18:00:33 UTC) #1
adamk
This looks good % turbofan, please go ahead with the rest of the architectures for ...
5 years, 6 months ago (2015-06-15 18:18:13 UTC) #3
Dan Ehrenberg
On 2015/06/15 18:18:13, adamk wrote: > This looks good % turbofan, please go ahead with ...
5 years, 6 months ago (2015-06-15 18:58:09 UTC) #4
Michael Starzinger
LGTM on the TurboFan part FWIW, didn't look at full-codegen or Crankshaft.
5 years, 6 months ago (2015-06-15 19:04:52 UTC) #6
Dan Ehrenberg
On 2015/06/15 19:04:52, Michael Starzinger wrote: > LGTM on the TurboFan part FWIW, didn't look ...
5 years, 6 months ago (2015-06-15 19:17:02 UTC) #7
adamk
https://codereview.chromium.org/1183213002/diff/20001/src/mips64/full-codegen-mips64.cc File src/mips64/full-codegen-mips64.cc (left): https://codereview.chromium.org/1183213002/diff/20001/src/mips64/full-codegen-mips64.cc#oldcode3610 src/mips64/full-codegen-mips64.cc:3610: void FullCodeGenerator::EmitIsArray(CallRuntime* expr) { I think you'll need to ...
5 years, 6 months ago (2015-06-15 20:25:50 UTC) #8
Dan Ehrenberg
https://codereview.chromium.org/1183213002/diff/20001/src/mips64/full-codegen-mips64.cc File src/mips64/full-codegen-mips64.cc (left): https://codereview.chromium.org/1183213002/diff/20001/src/mips64/full-codegen-mips64.cc#oldcode3610 src/mips64/full-codegen-mips64.cc:3610: void FullCodeGenerator::EmitIsArray(CallRuntime* expr) { On 2015/06/15 20:25:50, adamk wrote: ...
5 years, 6 months ago (2015-06-15 20:32:23 UTC) #10
adamk
lgtm Let's wait to land this until the tree recovers from the other failure.
5 years, 6 months ago (2015-06-15 20:34:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1183213002/40001
5 years, 6 months ago (2015-06-15 21:17:57 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-15 22:16:41 UTC) #15
commit-bot: I haz the power
5 years, 6 months ago (2015-06-15 22:16:55 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/350a70e5ef4262baf912f09389f1eb1d1aa9f842
Cr-Commit-Position: refs/heads/master@{#29033}

Powered by Google App Engine
This is Rietveld 408576698