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

Issue 1224793002: Loads and stores to global vars are now made via property cell shortcuts installed into parent scri… (Closed)

Created:
5 years, 5 months ago by Igor Sheludko
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

Loads and stores to global vars are now made via property cell shortcuts installed into parent script context. This CL also adds hydrogen stubs for global loads and global stores, full-codegen and TurboFan now uses this machinery. Committed: https://crrev.com/f87286e2db5b302ecd8331ccd13b1d3859b8bef5 Cr-Commit-Position: refs/heads/master@{#29592}

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : other platforms #

Patch Set 4 : cleanup #

Total comments: 8

Patch Set 5 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1192 lines, -153 lines) Patch
M src/arm/full-codegen-arm.cc View 1 2 2 chunks +42 lines, -8 lines 0 comments Download
M src/arm/interface-descriptors-arm.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 2 chunks +42 lines, -8 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/ast.h View 1 chunk +1 line, -1 line 0 comments Download
M src/ast.cc View 4 chunks +4 lines, -5 lines 0 comments Download
M src/code-factory.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/code-factory.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M src/code-stubs.h View 3 chunks +56 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 2 chunks +20 lines, -0 lines 0 comments Download
M src/code-stubs-hydrogen.cc View 1 2 3 4 1 chunk +215 lines, -1 line 0 comments Download
M src/compiler/ast-graph-builder.h View 1 chunk +6 lines, -4 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 4 chunks +44 lines, -14 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 2 chunks +43 lines, -15 lines 0 comments Download
M src/compiler/js-operator.h View 5 chunks +74 lines, -7 lines 0 comments Download
M src/compiler/js-operator.cc View 3 chunks +69 lines, -16 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/hydrogen.h View 2 chunks +5 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 4 chunks +64 lines, -9 lines 0 comments Download
M src/hydrogen-instructions.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 2 chunks +40 lines, -8 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/interface-descriptors.h View 2 chunks +25 lines, -0 lines 0 comments Download
M src/interface-descriptors.cc View 1 chunk +40 lines, -0 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 3 chunks +41 lines, -8 lines 0 comments Download
M src/mips/interface-descriptors-mips.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/mips64/full-codegen-mips64.cc View 1 2 3 chunks +41 lines, -8 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/ppc/full-codegen-ppc.cc View 1 2 2 chunks +42 lines, -8 lines 0 comments Download
M src/ppc/interface-descriptors-ppc.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime/runtime-object.cc View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download
M src/scopes.cc View 1 2 3 4 3 chunks +14 lines, -12 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 2 chunks +40 lines, -8 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/x87/full-codegen-x87.cc View 1 2 2 chunks +40 lines, -8 lines 0 comments Download
M src/x87/interface-descriptors-x87.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M test/unittests/compiler/js-type-feedback-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Igor Sheludko
PTAL non-TF part (I'll ask TF team to review TF part later)
5 years, 5 months ago (2015-07-07 17:40:02 UTC) #3
Benedikt Meurer
TurboFan part looks good to me.
5 years, 5 months ago (2015-07-08 08:18:37 UTC) #5
Igor Sheludko
The trybots failed because of https://code.google.com/p/chromium/issues/detail?id=508074
5 years, 5 months ago (2015-07-08 13:19:16 UTC) #6
Benedikt Meurer
LGTM from my side.
5 years, 5 months ago (2015-07-08 19:11:51 UTC) #7
Toon Verwaest
lgtm with some comments. You're idea of adding a flag to be able to turn ...
5 years, 5 months ago (2015-07-10 16:46:11 UTC) #8
Igor Sheludko
Thanks! Landing... https://codereview.chromium.org/1224793002/diff/80001/src/code-stubs-hydrogen.cc File src/code-stubs-hydrogen.cc (right): https://codereview.chromium.org/1224793002/diff/80001/src/code-stubs-hydrogen.cc#newcode1721 src/code-stubs-hydrogen.cc:1721: static_cast<int>(PropertyCellType::kConstantType); On 2015/07/10 16:46:11, Toon Verwaest wrote: ...
5 years, 5 months ago (2015-07-13 08:34:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224793002/100001
5 years, 5 months ago (2015-07-13 08:35:10 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 5 months ago (2015-07-13 09:18:51 UTC) #13
commit-bot: I haz the power
5 years, 5 months ago (2015-07-13 09:19:11 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f87286e2db5b302ecd8331ccd13b1d3859b8bef5
Cr-Commit-Position: refs/heads/master@{#29592}

Powered by Google App Engine
This is Rietveld 408576698