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

Issue 2955353002: Split inference type-info accessors into members, parameters and local functions (Closed)

Created:
3 years, 5 months ago by Johnni Winther
Modified:
3 years, 5 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Split inference type-info accessors into members, parameters and local functions This prepares for using LocalFunctionElement.callMethod as the key for local functions instead of the local functions themselves - corresponding to the world after closure conversion. Main changes in elements/elements.dart inferrer/inferrer_engine.dart inferrer/type_graph_inferrer.dart inferrer/type_system.dart R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/34290dca77f252e88199012e1346b70cc2162003

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 8

Patch Set 3 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+604 lines, -244 lines) Patch
M pkg/compiler/lib/src/closure.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 chunk +5 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/builder.dart View 1 2 22 chunks +38 lines, -38 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/builder_kernel.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/closure_tracer.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/inferrer_engine.dart View 24 chunks +180 lines, -52 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/locals_handler.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/node_tracer.dart View 1 2 6 chunks +12 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_dump.dart View 1 chunk +8 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart View 1 2 3 chunks +50 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_nodes.dart View 13 chunks +75 lines, -22 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_system.dart View 3 chunks +24 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/serialization/modelz.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/types/types.dart View 1 2 4 chunks +124 lines, -13 lines 0 comments Download
M tests/compiler/dart2js/call_site_simple_type_inferer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/closure_tracer_28919_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/closure_tracer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/container_mask_equal_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/dictionary_types_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/expect_annotations_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/field_type_simple_inferer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/issue13354_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/kernel/compile_from_dill_test_helper.dart View 3 chunks +9 lines, -14 lines 0 comments Download
M tests/compiler/dart2js/list_tracer2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/list_tracer3_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/list_tracer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/list_tracer_typed_data_length_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/map_tracer_const_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/map_tracer_keys_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/map_tracer_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/mirror_final_field_inferrer2_test.dart View 1 chunk +2 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/mirror_final_field_inferrer_test.dart View 1 chunk +2 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_and_or_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_closure_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure3_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure_default_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_const_closure_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_final_field2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_final_field3_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_final_field_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_global_field_closure2_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_postfix_prefix_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_try_catch_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/trust_type_annotations_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/type_inference6_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/type_inference7_test.dart View 3 chunks +6 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/type_inference8_test.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/type_inference_switch_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (3 generated)
Johnni Winther
3 years, 5 months ago (2017-06-28 12:01:04 UTC) #3
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2955353002/diff/20001/pkg/compiler/lib/src/inferrer/builder.dart File pkg/compiler/lib/src/inferrer/builder.dart (right): https://codereview.chromium.org/2955353002/diff/20001/pkg/compiler/lib/src/inferrer/builder.dart#newcode1055 pkg/compiler/lib/src/inferrer/builder.dart:1055: if (analyzedElement.isLocal) { to avoid duplicating this if-else ...
3 years, 5 months ago (2017-06-28 16:30:24 UTC) #4
Johnni Winther
https://codereview.chromium.org/2955353002/diff/20001/pkg/compiler/lib/src/inferrer/builder.dart File pkg/compiler/lib/src/inferrer/builder.dart (right): https://codereview.chromium.org/2955353002/diff/20001/pkg/compiler/lib/src/inferrer/builder.dart#newcode1055 pkg/compiler/lib/src/inferrer/builder.dart:1055: if (analyzedElement.isLocal) { On 2017/06/28 16:30:24, Siggi Cherem (dart-lang) ...
3 years, 5 months ago (2017-06-29 12:36:49 UTC) #5
Johnni Winther
3 years, 5 months ago (2017-06-29 12:46:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
34290dca77f252e88199012e1346b70cc2162003 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698