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

Issue 1218783005: Support for global var shortcuts in script contexts. (Closed)

Created:
5 years, 5 months ago by Igor Sheludko
Modified:
5 years, 5 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Support for global var shortcuts in script contexts. Committed: https://crrev.com/8fe17a6780e763d4367b4aeaf44b6f572d4bdd70 Cr-Commit-Position: refs/heads/master@{#29498}

Patch Set 1 : #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : Addressed comments #

Patch Set 4 : Other platforms #

Patch Set 5 : Temporarily enable feedback vector support for Location::GLOBAL #

Patch Set 6 : Non-x64 platforms fixed. #

Patch Set 7 : Rebasing #

Patch Set 8 : Fixing builds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+686 lines, -406 lines) Patch
M src/arm/full-codegen-arm.cc View 1 2 3 4 5 6 15 chunks +28 lines, -24 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 3 4 5 6 15 chunks +28 lines, -24 lines 0 comments Download
M src/ast.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M src/ast.cc View 1 2 3 4 6 chunks +7 lines, -6 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 5 6 18 chunks +38 lines, -32 lines 0 comments Download
M src/contexts.h View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M src/contexts.cc View 1 2 3 4 5 6 3 chunks +26 lines, -4 lines 0 comments Download
M src/factory.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/globals.h View 1 2 3 4 5 6 1 chunk +34 lines, -0 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 18 chunks +37 lines, -31 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 5 6 14 chunks +28 lines, -24 lines 0 comments Download
M src/liveedit.cc View 1 chunk +4 lines, -1 line 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 3 4 5 6 15 chunks +28 lines, -24 lines 0 comments Download
M src/mips64/full-codegen-mips64.cc View 1 2 3 4 5 6 15 chunks +28 lines, -24 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 6 3 chunks +9 lines, -1 line 0 comments Download
M src/parser.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/ppc/full-codegen-ppc.cc View 1 2 3 4 5 6 12 chunks +25 lines, -21 lines 0 comments Download
M src/prettyprinter.cc View 1 2 1 chunk +8 lines, -5 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 3 4 5 6 6 chunks +22 lines, -8 lines 0 comments Download
M src/runtime/runtime-scopes.cc View 1 2 3 4 5 6 2 chunks +6 lines, -3 lines 0 comments Download
M src/scopeinfo.h View 1 2 3 4 5 6 7 5 chunks +30 lines, -6 lines 0 comments Download
M src/scopeinfo.cc View 1 2 3 4 5 6 20 chunks +86 lines, -22 lines 0 comments Download
M src/scopes.h View 1 2 3 4 5 6 4 chunks +6 lines, -1 line 0 comments Download
M src/scopes.cc View 1 2 3 4 5 6 17 chunks +78 lines, -24 lines 0 comments Download
M src/typing.cc View 1 chunk +3 lines, -1 line 0 comments Download
M src/variables.h View 1 2 4 chunks +15 lines, -35 lines 0 comments Download
M src/variables.cc View 1 2 2 chunks +9 lines, -3 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 5 6 15 chunks +28 lines, -24 lines 0 comments Download
M src/x87/full-codegen-x87.cc View 1 2 3 4 5 6 14 chunks +28 lines, -24 lines 0 comments Download
M test/cctest/compiler/test-loop-assignment-analysis.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-feedback-vector.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/call-counts.js View 1 2 1 chunk +31 lines, -28 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
Igor Sheludko
PTAL
5 years, 5 months ago (2015-06-30 12:41:27 UTC) #4
Toon Verwaest
https://codereview.chromium.org/1218783005/diff/60001/src/contexts.h File src/contexts.h (right): https://codereview.chromium.org/1218783005/diff/60001/src/contexts.h#newcode561 src/contexts.h:561: void InvalidateGlobalSlots(); InitializeGlobalSlots https://codereview.chromium.org/1218783005/diff/60001/src/globals.h File src/globals.h (right): https://codereview.chromium.org/1218783005/diff/60001/src/globals.h#newcode886 src/globals.h:886: ...
5 years, 5 months ago (2015-07-01 09:28:55 UTC) #6
Igor Sheludko
There are some changes missing related to var->IsUnallocated() usages on non x64 achitectures... https://codereview.chromium.org/1218783005/diff/60001/src/contexts.h File ...
5 years, 5 months ago (2015-07-02 16:50:13 UTC) #8
Toon Verwaest
lgtm, but verify your ports ;)
5 years, 5 months ago (2015-07-06 14:59:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218783005/200001
5 years, 5 months ago (2015-07-06 15:03:16 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_rel/builds/7439) v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, ...
5 years, 5 months ago (2015-07-06 15:04:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218783005/240001
5 years, 5 months ago (2015-07-06 15:59:21 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:240001)
5 years, 5 months ago (2015-07-06 16:36:35 UTC) #18
commit-bot: I haz the power
5 years, 5 months ago (2015-07-06 16:36:45 UTC) #19
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/8fe17a6780e763d4367b4aeaf44b6f572d4bdd70
Cr-Commit-Position: refs/heads/master@{#29498}

Powered by Google App Engine
This is Rietveld 408576698