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

Issue 1179893002: Add script context with context-allocated "const this" (Closed)

Created:
5 years, 6 months ago by wingo
Modified:
5 years, 6 months ago
CC:
v8-dev, Yang, Michael Starzinger, Dmitry Lomov (no reviews), arv (Not doing code reviews)
Base URL:
https://chromium.googlesource.com/v8/v8@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add script context with context-allocated "const this" R=rossberg@chromium.org LOG=N BUG=498811 Committed: https://crrev.com/fa32d461c16a053cc6d48d3fb326016bc2765765 Cr-Commit-Position: refs/heads/master@{#28988}

Patch Set 1 #

Patch Set 2 : Clean up ResolvePossiblyDirectEval; working! #

Patch Set 3 : Fix up arm, arm64, ppc, mips64, mips, x87, ia32 #

Patch Set 4 : Fix TF unit test. "delete this" true for any var named this, even if not Variable::THIS #

Patch Set 5 : Fix release-mode compilation warning/error #

Patch Set 6 : arm64 fixups #

Total comments: 3

Patch Set 7 : Factor out Variable::HasThisName #

Unified diffs Side-by-side diffs Delta from patch set Stats (+259 lines, -204 lines) Patch
M src/arm/full-codegen-arm.cc View 1 2 3 4 5 6 6 chunks +14 lines, -22 lines 0 comments Download
M src/arm64/full-codegen-arm64.cc View 1 2 3 4 5 6 5 chunks +13 lines, -18 lines 0 comments Download
M src/bootstrapper.cc View 4 chunks +41 lines, -0 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 4 5 6 3 chunks +11 lines, -28 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 1 chunk +5 lines, -6 lines 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 4 5 6 6 chunks +10 lines, -14 lines 0 comments Download
M src/mips/full-codegen-mips.cc View 1 2 3 4 5 6 5 chunks +14 lines, -22 lines 0 comments Download
M src/mips64/full-codegen-mips64.cc View 1 2 3 4 5 6 6 chunks +13 lines, -21 lines 0 comments Download
M src/objects.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/ppc/full-codegen-ppc.cc View 1 2 3 4 5 6 6 chunks +14 lines, -21 lines 0 comments Download
M src/runtime/runtime.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/runtime/runtime-compiler.cc View 1 4 chunks +14 lines, -15 lines 0 comments Download
M src/scopeinfo.cc View 2 chunks +72 lines, -0 lines 0 comments Download
M src/scopes.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/snapshot/snapshot-common.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M src/variables.h View 1 2 3 4 5 6 1 chunk +10 lines, -0 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 4 5 6 6 chunks +9 lines, -15 lines 0 comments Download
M src/x87/full-codegen-x87.cc View 1 2 3 4 5 6 6 chunks +10 lines, -14 lines 0 comments Download
M test/unittests/compiler/js-type-feedback-unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (14 generated)
wingo
An early patch. It works for "this", e.g.: $ out/x64.debug/d8 --print_scopes -e this global { ...
5 years, 6 months ago (2015-06-11 15:38:00 UTC) #1
wingo
Updated patch works! Now to implement for the eleventy billion architectures.
5 years, 6 months ago (2015-06-11 16:25:36 UTC) #2
wingo
On 2015/06/11 16:25:36, wingo wrote: > Updated patch works! Now to implement for the eleventy ...
5 years, 6 months ago (2015-06-11 16:26:17 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1179893002/40001
5 years, 6 months ago (2015-06-11 16:45:42 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/1248)
5 years, 6 months ago (2015-06-11 17:03:01 UTC) #8
rossberg
lgtm
5 years, 6 months ago (2015-06-11 17:05:07 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1179893002/60001
5 years, 6 months ago (2015-06-11 19:46:46 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/builds/3530)
5 years, 6 months ago (2015-06-11 19:51:43 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1179893002/80001
5 years, 6 months ago (2015-06-11 19:58:58 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/6581)
5 years, 6 months ago (2015-06-11 20:23:41 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1179893002/100001
5 years, 6 months ago (2015-06-12 07:49:59 UTC) #22
Michael Starzinger
LGTM on the TurboFan part with a few nits. https://codereview.chromium.org/1179893002/diff/100001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1179893002/diff/100001/src/compiler/ast-graph-builder.cc#newcode2857 src/compiler/ast-graph-builder.cc:2857: ...
5 years, 6 months ago (2015-06-12 08:06:10 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-12 08:28:06 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1179893002/120001
5 years, 6 months ago (2015-06-12 08:54:33 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 6 months ago (2015-06-12 09:35:56 UTC) #29
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/fa32d461c16a053cc6d48d3fb326016bc2765765 Cr-Commit-Position: refs/heads/master@{#28988}
5 years, 6 months ago (2015-06-12 09:36:03 UTC) #30
Michael Achenbach
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1180043004/ by machenbach@chromium.org. ...
5 years, 6 months ago (2015-06-12 10:07:00 UTC) #31
Michael Achenbach
5 years, 6 months ago (2015-06-12 11:47:05 UTC) #32
Message was sent while issue was closed.
There was also this error:
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20nosnap/builds...

Powered by Google App Engine
This is Rietveld 408576698