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

Issue 1510633003: Safety analysis for JS template placeholders. (Closed)

Created:
5 years ago by sra1
Modified:
5 years ago
Reviewers:
asgerf
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Safety analysis for JS template placeholders. Determines how many expressions may be substituted for placeholders without changing the order of the effects embedded in the expressions or the JavaScript template. R=asgerf@google.com Committed: https://github.com/dart-lang/sdk/commit/aebbd86e0ff26be0a7cac1df81eaee1343ab72bc

Patch Set 1 : #

Total comments: 20

Patch Set 2 : #

Patch Set 3 : Make predicate positional #

Unified diffs Side-by-side diffs Delta from patch set Stats (+448 lines, -5 lines) Patch
A pkg/compiler/lib/src/js/placeholder_safety.dart View 1 2 1 chunk +327 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/tree_ir/optimization/statement_rewriter.dart View 1 2 chunks +17 lines, -5 lines 0 comments Download
A tests/compiler/dart2js/js_safety_test.dart View 1 1 chunk +104 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
sra1
5 years ago (2015-12-08 04:41:46 UTC) #3
asgerf
LGTM if integrated to actually be used by at least one backend. I tried it ...
5 years ago (2015-12-08 11:40:37 UTC) #4
asgerf
On 2015/12/08 11:40:37, asgerf wrote: > LGTM if integrated to actually be used by at ...
5 years ago (2015-12-08 11:41:11 UTC) #5
sra1
https://codereview.chromium.org/1510633003/diff/20001/pkg/compiler/lib/src/js/placeholder_safety.dart File pkg/compiler/lib/src/js/placeholder_safety.dart (right): https://codereview.chromium.org/1510633003/diff/20001/pkg/compiler/lib/src/js/placeholder_safety.dart#newcode22 pkg/compiler/lib/src/js/placeholder_safety.dart:22: class PlaceholderSafetyAnalysis extends js.BaseVisitor<NativeThrowBehavior> { On 2015/12/08 11:40:37, asgerf ...
5 years ago (2015-12-08 20:54:04 UTC) #6
sra1
5 years ago (2015-12-08 21:57:22 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:80001) manually as
aebbd86e0ff26be0a7cac1df81eaee1343ab72bc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698