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

Issue 1020853007: Don't bailout of type inference for simple NSM implementations (Closed)

Created:
5 years, 9 months ago by Harry Terkelsen
Modified:
5 years, 9 months ago
CC:
reviews_dartlang.org, floitsch
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Don't bailout of type inference for simple NSM implementations BUG= R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=44651

Patch Set 1 #

Patch Set 2 : unnecessary blank line #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -32 lines) Patch
M pkg/compiler/lib/src/compiler.dart View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/node_tracer.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_nodes.dart View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 2 3 4 1 chunk +2 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/no_such_method_registry.dart View 1 2 3 4 5 chunks +30 lines, -15 lines 0 comments Download
M pkg/compiler/lib/src/types/flat_type_mask.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart View 1 2 3 chunks +87 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
Harry Terkelsen
5 years, 9 months ago (2015-03-23 18:00:55 UTC) #2
Harry Terkelsen
5 years, 9 months ago (2015-03-23 19:50:56 UTC) #4
floitsch
LGTM with comment. https://codereview.chromium.org/1020853007/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart File pkg/compiler/lib/src/inferrer/type_graph_nodes.dart (right): https://codereview.chromium.org/1020853007/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart#newcode768 pkg/compiler/lib/src/inferrer/type_graph_nodes.dart:768: inferrer.backend.noSuchMethodRegistry.otherImpls.contains(e); Don't just reach into the ...
5 years, 9 months ago (2015-03-23 21:02:27 UTC) #6
Harry Terkelsen
Thanks Florian, PTAL since I moved some things around https://codereview.chromium.org/1020853007/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart File pkg/compiler/lib/src/inferrer/type_graph_nodes.dart (right): https://codereview.chromium.org/1020853007/diff/20001/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart#newcode768 pkg/compiler/lib/src/inferrer/type_graph_nodes.dart:768: ...
5 years, 9 months ago (2015-03-23 22:31:18 UTC) #7
floitsch
LGTM. https://codereview.chromium.org/1020853007/diff/60001/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart File pkg/compiler/lib/src/js_backend/no_such_method_registry.dart (right): https://codereview.chromium.org/1020853007/diff/60001/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart#newcode69 pkg/compiler/lib/src/js_backend/no_such_method_registry.dart:69: bool isComplex(FunctionElement element) => otherImpls.contains(element); Add dartdoc. assert, ...
5 years, 9 months ago (2015-03-23 22:34:43 UTC) #8
Harry Terkelsen
https://codereview.chromium.org/1020853007/diff/60001/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart File pkg/compiler/lib/src/js_backend/no_such_method_registry.dart (right): https://codereview.chromium.org/1020853007/diff/60001/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart#newcode69 pkg/compiler/lib/src/js_backend/no_such_method_registry.dart:69: bool isComplex(FunctionElement element) => otherImpls.contains(element); On 2015/03/23 22:34:42, floitsch ...
5 years, 9 months ago (2015-03-24 00:10:29 UTC) #13
Harry Terkelsen
5 years, 9 months ago (2015-03-24 00:11:05 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as 44651 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698