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

Issue 2287173002: Replace CollectVariables with locals(), update callsites to walk locals instead (Closed)

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

Description

Replace CollectVariables with locals(), update callsites to walk locals instead This additionally gets rid of old approach to global shortcuts. BUG=v8:5209 Committed: https://crrev.com/1493bc8c8b5a2304a5f8fa8d49c8544025f554cf Cr-Commit-Position: refs/heads/master@{#38980}

Patch Set 1 #

Patch Set 2 : Remove spurious changes #

Total comments: 4

Patch Set 3 : More cleanup #

Patch Set 4 : rebase #

Patch Set 5 : restore undefined handling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -316 lines) Patch
M src/ast/ast.h View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M src/ast/ast.cc View 1 2 3 4 2 chunks +4 lines, -8 lines 0 comments Download
M src/ast/scopeinfo.cc View 1 2 21 chunks +85 lines, -132 lines 0 comments Download
M src/ast/scopes.h View 1 3 chunks +2 lines, -9 lines 0 comments Download
M src/ast/scopes.cc View 1 2 9 chunks +5 lines, -63 lines 0 comments Download
M src/ast/variables.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M src/bootstrapper.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/contexts.h View 1 chunk +0 lines, -3 lines 0 comments Download
M src/contexts.cc View 1 chunk +0 lines, -19 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/typing.cc View 1 chunk +10 lines, -8 lines 0 comments Download
M src/debug/liveedit.cc View 1 chunk +10 lines, -13 lines 0 comments Download
M src/flag-definitions.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/full-codegen/s390/full-codegen-s390.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/objects.h View 1 4 chunks +3 lines, -16 lines 0 comments Download
M src/runtime/runtime-scopes.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M tools/gen-postmortem-metadata.py View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Toon Verwaest
ptal
4 years, 3 months ago (2016-08-28 20:16:40 UTC) #2
neis
Do we still need VariableLocation::GLOBAL?
4 years, 3 months ago (2016-08-29 08:45:58 UTC) #3
neis
Some minor comments. https://codereview.chromium.org/2287173002/diff/20001/src/ast/scopeinfo.cc File src/ast/scopeinfo.cc (right): https://codereview.chromium.org/2287173002/diff/20001/src/ast/scopeinfo.cc#newcode17 src/ast/scopeinfo.cc:17: // Collect variables. Please make the ...
4 years, 3 months ago (2016-08-29 09:25:25 UTC) #8
Toon Verwaest
Addressed comments
4 years, 3 months ago (2016-08-29 10:11:14 UTC) #9
neis
lgtm
4 years, 3 months ago (2016-08-29 12:21:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2287173002/80001
4 years, 3 months ago (2016-08-29 12:22:27 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/22794)
4 years, 3 months ago (2016-08-29 12:26:00 UTC) #14
Jarin
lgtm for the AST graph builder.
4 years, 3 months ago (2016-08-29 12:37:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2287173002/80001
4 years, 3 months ago (2016-08-29 12:47:16 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-08-29 12:49:23 UTC) #19
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 12:49:44 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1493bc8c8b5a2304a5f8fa8d49c8544025f554cf
Cr-Commit-Position: refs/heads/master@{#38980}

Powered by Google App Engine
This is Rietveld 408576698