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

Issue 1147143007: fixes #206, add checking for unary ops (Closed)

Created:
5 years, 6 months ago by Jennifer Messerly
Modified:
5 years, 6 months ago
Reviewers:
vsm, Leaf
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

fixes #206, add checking for unary ops fixes #207, checking for boolean conversions R=leafp@google.com, vsm@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/9738d60ad922ac9a2fa7c4fca64d1a13a844d279

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : merged #

Patch Set 5 : merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+773 lines, -584 lines) Patch
M lib/runtime/dart/_interceptors.js View 1 2 3 9 chunks +14 lines, -14 lines 0 comments Download
M lib/runtime/dart/_internal.js View 1 2 3 29 chunks +35 lines, -35 lines 0 comments Download
M lib/runtime/dart/_isolate_helper.js View 1 2 3 4 30 chunks +39 lines, -39 lines 0 comments Download
M lib/runtime/dart/_js_helper.js View 1 2 3 4 11 chunks +28 lines, -28 lines 0 comments Download
M lib/runtime/dart/_native_typed_data.js View 1 2 3 4 4 chunks +15 lines, -15 lines 0 comments Download
M lib/runtime/dart/async.js View 1 2 3 4 96 chunks +139 lines, -139 lines 0 comments Download
M lib/runtime/dart/collection.js View 1 2 3 88 chunks +122 lines, -122 lines 0 comments Download
M lib/runtime/dart/convert.js View 1 2 3 46 chunks +65 lines, -65 lines 0 comments Download
M lib/runtime/dart/core.js View 1 2 3 45 chunks +79 lines, -79 lines 0 comments Download
M lib/runtime/dart/math.js View 1 2 3 7 chunks +9 lines, -9 lines 0 comments Download
M lib/src/checker/checker.dart View 1 18 chunks +123 lines, -28 lines 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 2 3 6 chunks +18 lines, -11 lines 0 comments Download
M test/checker/checker_test.dart View 1 2 chunks +75 lines, -0 lines 0 comments Download
M test/codegen/expect/opassign.txt View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Jennifer Messerly
https://codereview.chromium.org/1147143007/diff/20001/lib/runtime/dart/convert.js File lib/runtime/dart/convert.js (right): https://codereview.chromium.org/1147143007/diff/20001/lib/runtime/dart/convert.js#newcode1207 lib/runtime/dart/convert.js:1207: if (!dart.notNull(dart.as(dart.dload(object, 'isFinite'), core.bool))) we'll probably want to do ...
5 years, 6 months ago (2015-06-04 00:16:23 UTC) #2
Jennifer Messerly
5 years, 6 months ago (2015-06-04 16:06:58 UTC) #4
vsm
Almost lgtm - we're still missing the null check. Could add that in the codegen ...
5 years, 6 months ago (2015-06-04 17:07:32 UTC) #5
Jennifer Messerly
PTAL, adds null checks to codegen now. Also improves isNonNullable so the generated code is ...
5 years, 6 months ago (2015-06-04 21:54:18 UTC) #6
Leaf
lgtm
5 years, 6 months ago (2015-06-05 18:12:27 UTC) #9
vsm
lgtm
5 years, 6 months ago (2015-06-05 19:11:23 UTC) #10
Jennifer Messerly
5 years, 6 months ago (2015-06-05 19:12:32 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:100001) manually as
9738d60ad922ac9a2fa7c4fca64d1a13a844d279 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698