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

Issue 2684303002: Use computeConstantValue instead of constantValue (Closed)

Created:
3 years, 10 months ago by vsm
Modified:
3 years, 10 months ago
Reviewers:
Paul Berry
CC:
dev-compiler+reviews_dartlang.org, Jennifer Messerly
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use computeConstantValue instead of constantValue Paul, you recommended that we switch to this a while back, but it got lost in the shuffle. I noticed we seem to drop some unneeded null checks in generated code with this change. :-) R=paulberry@google.com Committed: https://github.com/dart-lang/sdk/commit/30c8ca6616a30c6c098c970e345a994cdd66691e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/lib/src/compiler/nullable_type_inference.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/lib/src/compiler/side_effect_analysis.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (3 generated)
vsm
3 years, 10 months ago (2017-02-09 19:26:50 UTC) #3
Paul Berry
lgtm
3 years, 10 months ago (2017-02-09 20:34:02 UTC) #4
vsm
3 years, 10 months ago (2017-02-09 20:35:37 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
30c8ca6616a30c6c098c970e345a994cdd66691e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698