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

Issue 1964263002: fuse some null checks with type checks, introduce a special bool variant (Closed)

Created:
4 years, 7 months ago by Jennifer Messerly
Modified:
4 years, 7 months ago
Reviewers:
Leaf, sra1
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fuse some null checks with type checks, introduce a special bool variant fixes #536 R=sra@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/0bb4eecc13d72514b079b6eafc4fa9e2e01b1e85

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -71 lines) Patch
M lib/runtime/dart_sdk.js View 1 14 chunks +34 lines, -32 lines 0 comments Download
M lib/src/compiler/code_generator.dart View 1 2 chunks +30 lines, -12 lines 0 comments Download
M test/codegen/expect/notnull.js View 1 1 chunk +2 lines, -2 lines 0 comments Download
M tool/input_sdk/private/ddc_runtime/operations.dart View 1 2 chunks +24 lines, -25 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Jennifer Messerly
https://codereview.chromium.org/1964263002/diff/1/lib/src/compiler/code_generator.dart File lib/src/compiler/code_generator.dart (right): https://codereview.chromium.org/1964263002/diff/1/lib/src/compiler/code_generator.dart#newcode459 lib/src/compiler/code_generator.dart:459: JS.Expression maybeCheckNull(JS.Expression jsExpr) { aside: it might be a ...
4 years, 7 months ago (2016-05-10 23:42:12 UTC) #2
Jennifer Messerly
Oops forgot issue number. It's this one: https://github.com/dart-lang/dev_compiler/issues/536
4 years, 7 months ago (2016-05-10 23:43:00 UTC) #4
Jennifer Messerly
On 2016/05/10 23:43:00, John Messerly wrote: > Oops forgot issue number. It's this one: > ...
4 years, 7 months ago (2016-05-11 00:11:44 UTC) #5
sra1
LGTM I'm not sure asNotNull pays its way, since it is only used for primitive ...
4 years, 7 months ago (2016-05-11 00:28:23 UTC) #6
Jennifer Messerly
On 2016/05/11 00:28:23, sra1 wrote: > LGTM > > I'm not sure asNotNull pays its ...
4 years, 7 months ago (2016-05-11 18:04:34 UTC) #7
sra1
Still LGTM
4 years, 7 months ago (2016-05-11 18:12:03 UTC) #8
Jennifer Messerly
4 years, 7 months ago (2016-05-11 18:16:09 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
0bb4eecc13d72514b079b6eafc4fa9e2e01b1e85 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698