| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 import '../common/codegen.dart' show CodegenWorkItem; | 5 import '../common/codegen.dart' show CodegenWorkItem; |
| 6 import '../common/tasks.dart' show CompilerTask; | 6 import '../common/tasks.dart' show CompilerTask; |
| 7 import '../compiler.dart' show Compiler; | 7 import '../compiler.dart' show Compiler; |
| 8 import '../constants/constant_system.dart'; | 8 import '../constants/constant_system.dart'; |
| 9 import '../constants/values.dart'; | 9 import '../constants/values.dart'; |
| 10 import '../core_types.dart' show CoreClasses; | 10 import '../core_types.dart' show CoreClasses; |
| 11 import '../dart_types.dart'; | 11 import '../dart_types.dart'; |
| 12 import '../elements/elements.dart'; | 12 import '../elements/elements.dart'; |
| 13 import '../js/js.dart' as js; | 13 import '../js/js.dart' as js; |
| 14 import '../js_backend/backend_helpers.dart' show BackendHelpers; | 14 import '../js_backend/backend_helpers.dart' show BackendHelpers; |
| 15 import '../js_backend/js_backend.dart'; | 15 import '../js_backend/js_backend.dart'; |
| 16 import '../native/native.dart' as native; | 16 import '../native/native.dart' as native; |
| 17 import '../tree/tree.dart' as ast; | 17 import '../tree/dartstring.dart' as ast; |
| 18 import '../types/types.dart'; | 18 import '../types/types.dart'; |
| 19 import '../universe/selector.dart' show Selector; | 19 import '../universe/selector.dart' show Selector; |
| 20 import '../universe/side_effects.dart' show SideEffects; | 20 import '../universe/side_effects.dart' show SideEffects; |
| 21 import '../util/util.dart'; | 21 import '../util/util.dart'; |
| 22 import '../world.dart' show ClassWorld, World; | 22 import '../world.dart' show ClassWorld, World; |
| 23 import 'interceptor_simplifier.dart'; | 23 import 'interceptor_simplifier.dart'; |
| 24 import 'nodes.dart'; | 24 import 'nodes.dart'; |
| 25 import 'types.dart'; | 25 import 'types.dart'; |
| 26 import 'types_propagation.dart'; | 26 import 'types_propagation.dart'; |
| 27 import 'value_range_analyzer.dart'; | 27 import 'value_range_analyzer.dart'; |
| (...skipping 2379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2407 | 2407 |
| 2408 keyedValues.forEach((receiver, values) { | 2408 keyedValues.forEach((receiver, values) { |
| 2409 result.keyedValues[receiver] = | 2409 result.keyedValues[receiver] = |
| 2410 new Map<HInstruction, HInstruction>.from(values); | 2410 new Map<HInstruction, HInstruction>.from(values); |
| 2411 }); | 2411 }); |
| 2412 | 2412 |
| 2413 result.nonEscapingReceivers.addAll(nonEscapingReceivers); | 2413 result.nonEscapingReceivers.addAll(nonEscapingReceivers); |
| 2414 return result; | 2414 return result; |
| 2415 } | 2415 } |
| 2416 } | 2416 } |
| OLD | NEW |