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

Issue 2314703002: Split World usage into open, inference, and closed world. (Closed)

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

Description

Split World usage into open, inference, and closed world. This is a step towards separating the backend element model from the frontend model. Main changes in world.dart. R=het@google.com Committed: https://github.com/dart-lang/sdk/commit/614cde5b1c980601e5595a7a873823aeedf62bc6

Patch Set 1 #

Total comments: 7

Patch Set 2 : Updated cf. comments. #

Total comments: 23

Patch Set 3 : Updated cf. comments. #

Total comments: 6

Patch Set 4 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+580 lines, -496 lines) Patch
M pkg/compiler/lib/src/closure.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 1 7 chunks +16 lines, -6 lines 0 comments Download
M pkg/compiler/lib/src/dump_info.dart View 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/enqueue.dart View 1 9 chunks +14 lines, -25 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/inferrer_visitor.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart View 1 2 9 chunks +13 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart View 1 2 3 9 chunks +18 lines, -14 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_nodes.dart View 1 5 chunks +12 lines, -8 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 14 chunks +30 lines, -27 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/enqueuer.dart View 1 2 26 chunks +83 lines, -111 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/field_naming_mixin.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/js_interop_analysis.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_backend/namer.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_backend/runtime_types.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/class_stub_generator.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/full_emitter/nsm_emitter.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/interceptor_stub_generator.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/collector.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/field_visitor.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart View 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/type_test_registry.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/kernel/accessors.dart View 4 chunks +5 lines, -14 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 29 chunks +52 lines, -39 lines 0 comments Download
M pkg/compiler/lib/src/ssa/codegen.dart View 4 chunks +11 lines, -9 lines 0 comments Download
M pkg/compiler/lib/src/ssa/interceptor_simplifier.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/ssa/locals_handler.dart View 2 chunks +6 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/ssa/nodes.dart View 13 chunks +25 lines, -25 lines 0 comments Download
M pkg/compiler/lib/src/ssa/optimize.dart View 16 chunks +18 lines, -18 lines 0 comments Download
M pkg/compiler/lib/src/ssa/ssa_tracer.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/types.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/ssa/types_propagation.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/types/constants.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/types/flat_type_mask.dart View 9 chunks +17 lines, -14 lines 0 comments Download
M pkg/compiler/lib/src/types/map_type_mask.dart View 1 1 chunk +4 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/types/masks.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/types/type_mask.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/types/union_type_mask.dart View 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/universe/function_set.dart View 3 chunks +6 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/world.dart View 1 2 18 chunks +134 lines, -60 lines 0 comments Download
M tests/compiler/dart2js/class_set_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/compiler_helper.dart View 2 chunks +7 lines, -7 lines 0 comments Download
M tests/compiler/dart2js/concrete_type_inference_test.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/container_mask_equal_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/dictionary_types_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/exit_code_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/expect_annotations_test.dart View 1 chunk +1 line, -1 line 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/gvn_dynamic_field_get_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/jsinterop/world_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/map_tracer_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/patch_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/related_types.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/serialization/model_test_helper.dart View 5 chunks +8 lines, -8 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_closure_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_test.dart View 4 chunks +4 lines, -4 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/subtypeset_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/trust_type_annotations_test.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/type_combination_test.dart View 6 chunks +8 lines, -8 lines 0 comments Download
M tests/compiler/dart2js/type_mask2_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/type_mask_disjoint_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/type_mask_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/type_mask_test_helper.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/union_type_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/world_test.dart View 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Johnni Winther
4 years, 3 months ago (2016-09-06 09:40:18 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/2314703002/diff/1/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/2314703002/diff/1/pkg/compiler/lib/src/compiler.dart#newcode307 pkg/compiler/lib/src/compiler.dart:307: World get openWorld => _world; IMO - we reached ...
4 years, 3 months ago (2016-09-06 20:23:09 UTC) #3
Johnni Winther
PTAL https://codereview.chromium.org/2314703002/diff/1/pkg/compiler/lib/src/world.dart File pkg/compiler/lib/src/world.dart (right): https://codereview.chromium.org/2314703002/diff/1/pkg/compiler/lib/src/world.dart#newcode41 pkg/compiler/lib/src/world.dart:41: CommonMasks get commonMasks; On 2016/09/06 20:23:08, Siggi Cherem ...
4 years, 3 months ago (2016-09-19 13:03:49 UTC) #4
Johnni Winther
4 years, 3 months ago (2016-09-19 13:31:10 UTC) #5
Harry Terkelsen
https://codereview.chromium.org/2314703002/diff/20001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/2314703002/diff/20001/pkg/compiler/lib/src/compiler.dart#newcode313 pkg/compiler/lib/src/compiler.dart:313: ClosedWorld get closedWorld => _world; should we add an ...
4 years, 3 months ago (2016-09-19 17:18:27 UTC) #7
Harry Terkelsen
On 2016/09/19 17:18:27, Harry Terkelsen wrote: > https://codereview.chromium.org/2314703002/diff/20001/pkg/compiler/lib/src/compiler.dart > File pkg/compiler/lib/src/compiler.dart (right): > > https://codereview.chromium.org/2314703002/diff/20001/pkg/compiler/lib/src/compiler.dart#newcode313 ...
4 years, 3 months ago (2016-09-19 17:29:43 UTC) #8
Johnni Winther
PTAL https://codereview.chromium.org/2314703002/diff/20001/pkg/compiler/lib/src/compiler.dart File pkg/compiler/lib/src/compiler.dart (right): https://codereview.chromium.org/2314703002/diff/20001/pkg/compiler/lib/src/compiler.dart#newcode313 pkg/compiler/lib/src/compiler.dart:313: ClosedWorld get closedWorld => _world; On 2016/09/19 17:18:26, ...
4 years, 3 months ago (2016-09-20 08:29:58 UTC) #9
Harry Terkelsen
lgtm! https://codereview.chromium.org/2314703002/diff/20001/pkg/compiler/lib/src/enqueue.dart File pkg/compiler/lib/src/enqueue.dart (left): https://codereview.chromium.org/2314703002/diff/20001/pkg/compiler/lib/src/enqueue.dart#oldcode387 pkg/compiler/lib/src/enqueue.dart:387: compiler.world.allTypedefs.add(element); On 2016/09/20 08:29:58, Johnni Winther wrote: > ...
4 years, 3 months ago (2016-09-20 17:47:41 UTC) #10
Johnni Winther
https://codereview.chromium.org/2314703002/diff/40001/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart File pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/2314703002/diff/40001/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart#newcode729 pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart:729: ; On 2016/09/20 17:47:41, Harry Terkelsen wrote: > nit: ...
4 years, 3 months ago (2016-09-21 07:44:53 UTC) #11
Johnni Winther
4 years, 3 months ago (2016-09-21 08:54:44 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
614cde5b1c980601e5595a7a873823aeedf62bc6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698