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

Issue 2479123002: Compiling an array literal should be context-independent. (Closed)

Created:
4 years, 1 month ago by Yang
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Compiling an array literal should be context-independent. We are removing use of the debugger context. When the debugger triggers compilation, we may not have a context from which to create a JSArray. R=ishell@chromium.org BUG=chromium:664577 Committed: https://crrev.com/08f09ed71be6d50dbc73f50acee1e32d14b8a947 Cr-Commit-Position: refs/heads/master@{#40956}

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase and address comment #

Total comments: 6

Patch Set 3 : address comment #

Patch Set 4 : address comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -16 lines) Patch
M src/ast/ast.cc View 1 2 3 3 chunks +20 lines, -16 lines 0 comments Download
M src/elements.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/elements.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A test/inspector/debugger/get-possible-breakpoints-array-literal.js View 1 chunk +12 lines, -0 lines 0 comments Download
A test/inspector/debugger/get-possible-breakpoints-array-literal-expected.txt View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (20 generated)
Yang
4 years, 1 month ago (2016-11-07 08:55:11 UTC) #1
Igor Sheludko
lgtm with a nit https://codereview.chromium.org/2479123002/diff/1/src/ast/ast.cc File src/ast/ast.cc (right): https://codereview.chromium.org/2479123002/diff/1/src/ast/ast.cc#newcode631 src/ast/ast.cc:631: if (IsDoubleOrFloatElementsKind(kind)) { Maybe IsFastDoubleElementsKind(kind)? ...
4 years, 1 month ago (2016-11-07 14:55:51 UTC) #6
Yang
Toon, could you take a look as owner of src/ast?
4 years, 1 month ago (2016-11-08 08:17:03 UTC) #8
Toon Verwaest
That's funny :) Some comments. https://codereview.chromium.org/2479123002/diff/20001/src/ast/ast.cc File src/ast/ast.cc (right): https://codereview.chromium.org/2479123002/diff/20001/src/ast/ast.cc#newcode607 src/ast/ast.cc:607: is_holey = true; if ...
4 years, 1 month ago (2016-11-08 10:16:55 UTC) #9
Toon Verwaest
https://codereview.chromium.org/2479123002/diff/20001/src/ast/ast.cc File src/ast/ast.cc (right): https://codereview.chromium.org/2479123002/diff/20001/src/ast/ast.cc#newcode583 src/ast/ast.cc:583: ElementsKind kind = FAST_SMI_ELEMENTS; FIRST_FAST_ELEMENTS_KIND?
4 years, 1 month ago (2016-11-08 10:18:02 UTC) #10
Yang
Addressed comment. Please take another look.
4 years, 1 month ago (2016-11-08 12:01:10 UTC) #11
Toon Verwaest
There were other comments than the last mail :)
4 years, 1 month ago (2016-11-08 15:56:35 UTC) #16
Yang
https://codereview.chromium.org/2479123002/diff/20001/src/ast/ast.cc File src/ast/ast.cc (right): https://codereview.chromium.org/2479123002/diff/20001/src/ast/ast.cc#newcode583 src/ast/ast.cc:583: ElementsKind kind = FAST_SMI_ELEMENTS; On 2016/11/08 10:18:02, Toon Verwaest ...
4 years, 1 month ago (2016-11-09 07:32:23 UTC) #17
Toon Verwaest
lgtm, thanks
4 years, 1 month ago (2016-11-10 10:09:08 UTC) #18
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/2479123002/60001
4 years, 1 month ago (2016-11-10 10:22:48 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/12120) v8_linux64_asan_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 1 month ago (2016-11-10 10:38:56 UTC) #23
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/2479123002/80001
4 years, 1 month ago (2016-11-10 10:49:16 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-10 11:16:25 UTC) #27
Yang
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2481363009/ by yangguo@chromium.org. ...
4 years, 1 month ago (2016-11-10 17:48:01 UTC) #28
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/2479123002/80001
4 years, 1 month ago (2016-11-14 09:47:04 UTC) #31
Yang
Relanding this. The debug-scopes flakiness did not go away by reverting this.
4 years, 1 month ago (2016-11-14 09:47:19 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-14 10:46:12 UTC) #35
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/e5c1929c0937c021b0bb8d9b237990bead000a10 Cr-Commit-Position: refs/heads/master@{#40884}
4 years, 1 month ago (2016-11-17 22:28:48 UTC) #37
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:32:10 UTC) #39
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/08f09ed71be6d50dbc73f50acee1e32d14b8a947
Cr-Commit-Position: refs/heads/master@{#40956}

Powered by Google App Engine
This is Rietveld 408576698