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

Issue 1100633006: Generate static calls for Object fields and methods (Closed)

Created:
5 years, 8 months ago by vsm
Modified:
5 years, 8 months ago
CC:
dev-compiler+reviews_dartlang.org
Base URL:
https://github.com/dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 22

Patch Set 2 : Fixes #

Patch Set 3 : Better test on static dispatch #

Patch Set 4 : Better static dispatch check #

Total comments: 9

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -184 lines) Patch
M lib/runtime/dart/_interceptors.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M lib/runtime/dart/_internal.js View 5 chunks +5 lines, -5 lines 0 comments Download
M lib/runtime/dart/_isolate_helper.js View 2 chunks +3 lines, -3 lines 0 comments Download
M lib/runtime/dart/_js_helper.js View 13 chunks +17 lines, -15 lines 0 comments Download
M lib/runtime/dart/_native_typed_data.js View 3 chunks +7 lines, -7 lines 0 comments Download
M lib/runtime/dart/async.js View 8 chunks +9 lines, -9 lines 0 comments Download
M lib/runtime/dart/collection.js View 14 chunks +15 lines, -15 lines 0 comments Download
M lib/runtime/dart/convert.js View 14 chunks +19 lines, -19 lines 0 comments Download
M lib/runtime/dart/core.js View 1 2 3 4 15 chunks +15 lines, -15 lines 0 comments Download
M lib/runtime/dart/isolate.js View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/runtime/dart/math.js View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/runtime/dart_runtime.js View 1 2 3 4 7 chunks +72 lines, -15 lines 0 comments Download
M lib/src/checker/resolver.dart View 4 chunks +11 lines, -33 lines 0 comments Download
M lib/src/checker/rules.dart View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M lib/src/codegen/js_codegen.dart View 1 2 3 4 9 chunks +54 lines, -15 lines 0 comments Download
M lib/src/utils.dart View 1 chunk +27 lines, -0 lines 0 comments Download
M test/browser/runtime_tests.js View 1 8 chunks +60 lines, -21 lines 0 comments Download
M test/codegen/expect/misc.js View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M test/codegen/expect/opassign.js View 1 chunk +2 lines, -1 line 0 comments Download
M test/generated_sdk/lib/core/object.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tool/input_sdk/patch/core_patch.dart View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (1 generated)
vsm
5 years, 8 months ago (2015-04-23 17:40:00 UTC) #2
Jennifer Messerly
Nice, really like where this is going https://codereview.chromium.org/1100633006/diff/1/lib/runtime/dart/_interceptors.js File lib/runtime/dart/_interceptors.js (right): https://codereview.chromium.org/1100633006/diff/1/lib/runtime/dart/_interceptors.js#newcode1023 lib/runtime/dart/_interceptors.js:1023: return dart.noSuchMethod(super, ...
5 years, 8 months ago (2015-04-23 19:01:42 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/1100633006/diff/1/lib/runtime/dart_runtime.js File lib/runtime/dart_runtime.js (right): https://codereview.chromium.org/1100633006/diff/1/lib/runtime/dart_runtime.js#newcode874 lib/runtime/dart_runtime.js:874: function toString(obj) { oh, just noticed noSuchMethod helper is ...
5 years, 8 months ago (2015-04-23 19:02:54 UTC) #4
Jennifer Messerly
oops, one more comment https://codereview.chromium.org/1100633006/diff/1/lib/src/codegen/js_codegen.dart File lib/src/codegen/js_codegen.dart (right): https://codereview.chromium.org/1100633006/diff/1/lib/src/codegen/js_codegen.dart#newcode1291 lib/src/codegen/js_codegen.dart:1291: } else if (_objectMembers.containsKey(name)) { ...
5 years, 8 months ago (2015-04-23 19:05:58 UTC) #5
vsm
thanks! PTAL https://codereview.chromium.org/1100633006/diff/1/lib/runtime/dart/_interceptors.js File lib/runtime/dart/_interceptors.js (right): https://codereview.chromium.org/1100633006/diff/1/lib/runtime/dart/_interceptors.js#newcode1023 lib/runtime/dart/_interceptors.js:1023: return dart.noSuchMethod(super, invocation); On 2015/04/23 19:01:41, John ...
5 years, 8 months ago (2015-04-23 20:35:56 UTC) #6
Jennifer Messerly
lgtm https://codereview.chromium.org/1100633006/diff/60001/lib/runtime/dart/_interceptors.js File lib/runtime/dart/_interceptors.js (left): https://codereview.chromium.org/1100633006/diff/60001/lib/runtime/dart/_interceptors.js#oldcode743 lib/runtime/dart/_interceptors.js:743: return core.String['*'](padding, delta) + dart.notNull(this); nice! https://codereview.chromium.org/1100633006/diff/60001/lib/runtime/dart/_js_helper.js File ...
5 years, 8 months ago (2015-04-23 21:09:30 UTC) #7
vsm
https://codereview.chromium.org/1100633006/diff/60001/lib/runtime/dart_runtime.js File lib/runtime/dart_runtime.js (right): https://codereview.chromium.org/1100633006/diff/60001/lib/runtime/dart_runtime.js#newcode897 lib/runtime/dart_runtime.js:897: throw new core.NoSuchMethodError(obj, invocation.memberName, On 2015/04/23 21:09:30, John Messerly ...
5 years, 8 months ago (2015-04-23 21:23:33 UTC) #8
vsm
5 years, 8 months ago (2015-04-23 21:23:53 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
a5c125301d4d1e4f903ceb115ab17ec98b9a3eb4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698