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

Issue 2268363002: [Asm.js] Prevents assignments to immutables. (Closed)

Created:
4 years, 4 months ago by John
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com, titzer
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Asm.js] Prevents assignments to immutables. Adds a check so that module validation fails if there are any assignments to immutable identifiers (e.g., module name, module parameters, stdlib imports.) BUG= https://bugs.chromium.org/p/chromium/issues/detail?id=640194 Committed: https://crrev.com/a60e1822504f1c87fd067b150354ccb544823bc3 Cr-Commit-Position: refs/heads/master@{#38838}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addresses comments #

Total comments: 2

Patch Set 3 : Addresses comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -1 line) Patch
M src/asmjs/asm-typer.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M test/cctest/asmjs/test-asm-typer.cc View 1 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
John
4 years, 4 months ago (2016-08-23 13:48:28 UTC) #4
titzer
lgtm https://codereview.chromium.org/2268363002/diff/1/test/cctest/asmjs/test-asm-typer.cc File test/cctest/asmjs/test-asm-typer.cc (right): https://codereview.chromium.org/2268363002/diff/1/test/cctest/asmjs/test-asm-typer.cc#newcode1944 test/cctest/asmjs/test-asm-typer.cc:1944: // This issue was triggered because assignment to ...
4 years, 4 months ago (2016-08-23 13:58:25 UTC) #6
John
https://codereview.chromium.org/2268363002/diff/1/test/cctest/asmjs/test-asm-typer.cc File test/cctest/asmjs/test-asm-typer.cc (right): https://codereview.chromium.org/2268363002/diff/1/test/cctest/asmjs/test-asm-typer.cc#newcode1944 test/cctest/asmjs/test-asm-typer.cc:1944: // This issue was triggered because assignment to special ...
4 years, 4 months ago (2016-08-23 14:02:32 UTC) #7
andrianaan351
On 2016/08/23 14:02:36, John wrote: > The CQ bit was checked by mailto:jpp@chromium.org to run ...
4 years, 4 months ago (2016-08-23 14:04:56 UTC) #10
titzer
lgtm
4 years, 4 months ago (2016-08-23 14:09:08 UTC) #11
bradn
lgtm https://codereview.chromium.org/2268363002/diff/20001/src/asmjs/asm-typer.cc File src/asmjs/asm-typer.cc (left): https://codereview.chromium.org/2268363002/diff/20001/src/asmjs/asm-typer.cc#oldcode1747 src/asmjs/asm-typer.cc:1747: DCHECK(target_info->type() != AsmType::None()); Isn't this still a valid ...
4 years, 4 months ago (2016-08-23 15:56:51 UTC) #15
John
https://codereview.chromium.org/2268363002/diff/20001/src/asmjs/asm-typer.cc File src/asmjs/asm-typer.cc (left): https://codereview.chromium.org/2268363002/diff/20001/src/asmjs/asm-typer.cc#oldcode1747 src/asmjs/asm-typer.cc:1747: DCHECK(target_info->type() != AsmType::None()); On 2016/08/23 15:56:51, bradn wrote: > ...
4 years, 4 months ago (2016-08-23 16:10:00 UTC) #17
bradn
lgtm
4 years, 4 months ago (2016-08-23 18:03:11 UTC) #22
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/2268363002/40001
4 years, 4 months ago (2016-08-23 18:03:20 UTC) #24
bradnelson
meant to use this account lgtm
4 years, 4 months ago (2016-08-23 18:04:48 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-23 18:08:21 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 18:08:48 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a60e1822504f1c87fd067b150354ccb544823bc3
Cr-Commit-Position: refs/heads/master@{#38838}

Powered by Google App Engine
This is Rietveld 408576698