OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 #library('leg'); | 5 #library('leg'); |
6 | 6 |
7 #import('../../utils/uri/uri.dart'); | 7 #import('../../lib/uri/uri.dart'); |
8 | 8 |
9 #import('io/io.dart', prefix: 'io'); | 9 #import('io/io.dart', prefix: 'io'); |
10 | 10 |
11 #import('elements/elements.dart'); | 11 #import('elements/elements.dart'); |
12 #import('scanner/scannerlib.dart'); | 12 #import('scanner/scannerlib.dart'); |
13 #import('scanner/scanner_implementation.dart'); | 13 #import('scanner/scanner_implementation.dart'); |
14 #import('ssa/ssa.dart'); | 14 #import('ssa/ssa.dart'); |
15 #import('tree/tree.dart'); | 15 #import('tree/tree.dart'); |
16 #import('util/util.dart'); | 16 #import('util/util.dart'); |
17 #import('string_validator.dart'); | 17 #import('string_validator.dart'); |
18 | 18 |
19 #source('compiler.dart'); | 19 #source('compiler.dart'); |
20 #source('compile_time_constants.dart'); | 20 #source('compile_time_constants.dart'); |
21 #source('diagnostic_listener.dart'); | 21 #source('diagnostic_listener.dart'); |
22 #source('emitter.dart'); | 22 #source('emitter.dart'); |
23 #source('namer.dart'); | 23 #source('namer.dart'); |
24 #source('resolver.dart'); | 24 #source('resolver.dart'); |
25 #source('script.dart'); | 25 #source('script.dart'); |
26 #source('tree_validator.dart'); | 26 #source('tree_validator.dart'); |
27 #source('typechecker.dart'); | 27 #source('typechecker.dart'); |
28 #source('universe.dart'); | 28 #source('universe.dart'); |
29 #source('warnings.dart'); | 29 #source('warnings.dart'); |
30 | 30 |
31 final bool GENERATE_SSA_TRACE = false; | 31 final bool GENERATE_SSA_TRACE = false; |
32 | 32 |
33 void unreachable() { | 33 void unreachable() { |
34 throw const Exception("Internal Error (Leg): UNREACHABLE"); | 34 throw const Exception("Internal Error (Leg): UNREACHABLE"); |
35 } | 35 } |
OLD | NEW |