| OLD | NEW |
| 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 library kernel.target.vm; | 4 library kernel.target.vm; |
| 5 | 5 |
| 6 import '../ast.dart'; | 6 import '../ast.dart'; |
| 7 import '../class_hierarchy.dart'; | 7 import '../class_hierarchy.dart'; |
| 8 import '../core_types.dart'; | 8 import '../core_types.dart'; |
| 9 import '../transformations/continuation.dart' as cont; | 9 import '../transformations/continuation.dart' as cont; |
| 10 import '../transformations/erasure.dart'; | 10 import '../transformations/erasure.dart'; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 'dart:_internal', | 40 'dart:_internal', |
| 41 'dart:isolate', | 41 'dart:isolate', |
| 42 'dart:math', | 42 'dart:math', |
| 43 | 43 |
| 44 // The library dart:mirrors may be ignored by the VM, e.g. when built in | 44 // The library dart:mirrors may be ignored by the VM, e.g. when built in |
| 45 // PRODUCT mode. | 45 // PRODUCT mode. |
| 46 'dart:mirrors', | 46 'dart:mirrors', |
| 47 | 47 |
| 48 'dart:profiler', | 48 'dart:profiler', |
| 49 'dart:typed_data', | 49 'dart:typed_data', |
| 50 'dart:vmservice_io', | |
| 51 'dart:_vmservice', | |
| 52 'dart:_builtin', | 50 'dart:_builtin', |
| 53 'dart:nativewrappers', | 51 'dart:nativewrappers', |
| 54 'dart:io', | 52 'dart:io', |
| 55 ]; | 53 ]; |
| 56 | 54 |
| 57 ClassHierarchy _hierarchy; | 55 ClassHierarchy _hierarchy; |
| 58 | 56 |
| 59 void performModularTransformationsOnLibraries( | 57 void performModularTransformationsOnLibraries( |
| 60 CoreTypes coreTypes, ClassHierarchy hierarchy, List<Library> libraries, | 58 CoreTypes coreTypes, ClassHierarchy hierarchy, List<Library> libraries, |
| 61 {void logger(String msg)}) { | 59 {void logger(String msg)}) { |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 // this is currently only used in (statically resolved) no-such-method | 263 // this is currently only used in (statically resolved) no-such-method |
| 266 // handling, the current approach seems sufficient. | 264 // handling, the current approach seems sufficient. |
| 267 return new MethodInvocation( | 265 return new MethodInvocation( |
| 268 new ListLiteral(elements)..fileOffset = offset, | 266 new ListLiteral(elements)..fileOffset = offset, |
| 269 new Name("toList"), | 267 new Name("toList"), |
| 270 new Arguments(<Expression>[], named: <NamedExpression>[ | 268 new Arguments(<Expression>[], named: <NamedExpression>[ |
| 271 new NamedExpression("growable", new BoolLiteral(false)) | 269 new NamedExpression("growable", new BoolLiteral(false)) |
| 272 ])); | 270 ])); |
| 273 } | 271 } |
| 274 } | 272 } |
| OLD | NEW |