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

Issue 1471893003: [compiler] No need to push literal index in VisitArrayLiteral. (Closed)

Created:
5 years ago by Benedikt Meurer
Modified:
5 years ago
Reviewers:
Michael Starzinger
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

[compiler] No need to push literal index in VisitArrayLiteral. The literal index is being pushed onto the stack while evaluating the non-constant subexpressions, but never used in fullcodegen (and hence not used in the optimizing compilers). R=mstarzinger@chromium.org Committed: https://crrev.com/9846f386f08e2aaf897851f0f54c0967c51484fb Cr-Commit-Position: refs/heads/master@{#32205}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -33 lines) Patch
M src/compiler/ast-graph-builder.cc View 1 3 chunks +3 lines, -5 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 3 chunks +1 line, -4 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 3 chunks +1 line, -4 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 3 chunks +1 line, -4 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 3 chunks +1 line, -4 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 3 chunks +1 line, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 9 (2 generated)
Benedikt Meurer
5 years ago (2015-11-24 12:10:46 UTC) #1
Benedikt Meurer
Hey Michi, Less code is still best code, so we can even avoid dead values ...
5 years ago (2015-11-24 12:11:25 UTC) #2
Michael Starzinger
LGTM with one comment to address. https://codereview.chromium.org/1471893003/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1471893003/diff/1/src/compiler/ast-graph-builder.cc#newcode1920 src/compiler/ast-graph-builder.cc:1920: // The array ...
5 years ago (2015-11-24 12:29:23 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/1471893003/diff/1/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1471893003/diff/1/src/compiler/ast-graph-builder.cc#newcode1920 src/compiler/ast-graph-builder.cc:1920: // The array and the literal index are both ...
5 years ago (2015-11-24 12:30:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1471893003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1471893003/20001
5 years ago (2015-11-24 12:30:45 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-24 13:04:02 UTC) #8
commit-bot: I haz the power
5 years ago (2015-11-24 13:04:43 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9846f386f08e2aaf897851f0f54c0967c51484fb
Cr-Commit-Position: refs/heads/master@{#32205}

Powered by Google App Engine
This is Rietveld 408576698