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

Side by Side Diff: tests/compiler/dart2js/kernel/closed_world_test.dart

Issue 2829033002: Rename KernelWorldBuilder to KernelElementBuilder (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Tests that the closed world computed from [WorldImpact]s derived from kernel 5 // Tests that the closed world computed from [WorldImpact]s derived from kernel
6 // is equivalent to the original computed from resolution. 6 // is equivalent to the original computed from resolution.
7 library dart2js.kernel.closed_world_test; 7 library dart2js.kernel.closed_world_test;
8 8
9 import 'package:async_helper/async_helper.dart'; 9 import 'package:async_helper/async_helper.dart';
10 import 'package:compiler/src/closure.dart'; 10 import 'package:compiler/src/closure.dart';
(...skipping 17 matching lines...) Expand all
28 import 'package:compiler/src/js_backend/native_data.dart'; 28 import 'package:compiler/src/js_backend/native_data.dart';
29 import 'package:compiler/src/js_backend/impact_transformer.dart'; 29 import 'package:compiler/src/js_backend/impact_transformer.dart';
30 import 'package:compiler/src/js_backend/interceptor_data.dart'; 30 import 'package:compiler/src/js_backend/interceptor_data.dart';
31 import 'package:compiler/src/js_backend/lookup_map_analysis.dart'; 31 import 'package:compiler/src/js_backend/lookup_map_analysis.dart';
32 import 'package:compiler/src/js_backend/mirrors_analysis.dart'; 32 import 'package:compiler/src/js_backend/mirrors_analysis.dart';
33 import 'package:compiler/src/js_backend/mirrors_data.dart'; 33 import 'package:compiler/src/js_backend/mirrors_data.dart';
34 import 'package:compiler/src/js_backend/no_such_method_registry.dart'; 34 import 'package:compiler/src/js_backend/no_such_method_registry.dart';
35 import 'package:compiler/src/js_backend/resolution_listener.dart'; 35 import 'package:compiler/src/js_backend/resolution_listener.dart';
36 import 'package:compiler/src/js_backend/type_variable_handler.dart'; 36 import 'package:compiler/src/js_backend/type_variable_handler.dart';
37 import 'package:compiler/src/native/enqueue.dart'; 37 import 'package:compiler/src/native/enqueue.dart';
38 import 'package:compiler/src/kernel/world_builder.dart'; 38 import 'package:compiler/src/kernel/element_builder.dart';
39 import 'package:compiler/src/options.dart'; 39 import 'package:compiler/src/options.dart';
40 import 'package:compiler/src/ssa/kernel_impact.dart'; 40 import 'package:compiler/src/ssa/kernel_impact.dart';
41 import 'package:compiler/src/serialization/equivalence.dart'; 41 import 'package:compiler/src/serialization/equivalence.dart';
42 import 'package:compiler/src/universe/world_builder.dart'; 42 import 'package:compiler/src/universe/world_builder.dart';
43 import 'package:compiler/src/universe/world_impact.dart'; 43 import 'package:compiler/src/universe/world_impact.dart';
44 import 'package:compiler/src/world.dart'; 44 import 'package:compiler/src/world.dart';
45 import 'package:kernel/ast.dart' as ir; 45 import 'package:kernel/ast.dart' as ir;
46 import 'impact_test.dart'; 46 import 'impact_test.dart';
47 import '../memory_compiler.dart'; 47 import '../memory_compiler.dart';
48 import '../serialization/helper.dart'; 48 import '../serialization/helper.dart';
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 final MemberElement element; 195 final MemberElement element;
196 196
197 KernelWorkItem(this._compiler, this._impactTransformer, this.element); 197 KernelWorkItem(this._compiler, this._impactTransformer, this.element);
198 198
199 @override 199 @override
200 WorldImpact run() { 200 WorldImpact run() {
201 ResolutionImpact resolutionImpact = build(_compiler, element.resolvedAst); 201 ResolutionImpact resolutionImpact = build(_compiler, element.resolvedAst);
202 return _impactTransformer.transformResolutionImpact(resolutionImpact); 202 return _impactTransformer.transformResolutionImpact(resolutionImpact);
203 } 203 }
204 } 204 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698