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

Side by Side Diff: dart/sdk/lib/_internal/compiler/implementation/js_backend/js_backend.dart

Issue 15861005: Implement ClassMirror.owner and LibraryMirror.uri. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix problem in deferred code Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
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 library js_backend; 5 library js_backend;
6 6
7 import 'dart:collection' show LinkedHashMap, Queue; 7 import 'dart:collection' show LinkedHashMap, Queue;
8 8
9 import '../closure.dart'; 9 import '../closure.dart';
10 import '../../compiler.dart' as api; 10 import '../../compiler.dart' as api;
11 import '../elements/elements.dart'; 11 import '../elements/elements.dart';
12 import '../elements/modelx.dart' show FunctionElementX; 12 import '../elements/modelx.dart' show FunctionElementX;
13 13
14 // TODO(ahe): There seems to be a bug in the VM, so we have to hide "js". 14 // TODO(ahe): There seems to be a bug in the VM, so we have to hide "js".
15 import '../dart2jslib.dart' hide Selector, TypedSelector, js; 15 import '../dart2jslib.dart' hide Selector, TypedSelector, js;
16 import '../dart_types.dart'; 16 import '../dart_types.dart';
17 import '../js/js.dart' as jsAst; 17 import '../js/js.dart' as jsAst;
18 import '../js/js.dart' show js; // TODO(ahe): VM bug, see above. 18 import '../js/js.dart' show js; // TODO(ahe): VM bug, see above.
19 import '../native_handler.dart' as native; 19 import '../native_handler.dart' as native;
20 import '../source_file.dart'; 20 import '../source_file.dart';
21 import '../source_map_builder.dart'; 21 import '../source_map_builder.dart';
22 import '../ssa/ssa.dart' hide js; // TODO(ahe): VM bug, see above. 22 import '../ssa/ssa.dart' hide js; // TODO(ahe): VM bug, see above.
23 import '../tree/tree.dart'; 23 import '../tree/tree.dart';
24 import '../types/types.dart'; 24 import '../types/types.dart';
25 import '../universe/universe.dart' hide js; // TODO(ahe): VM bug, see above. 25 import '../universe/universe.dart' hide js; // TODO(ahe): VM bug, see above.
26 import '../util/characters.dart'; 26 import '../util/characters.dart';
27 import '../util/util.dart'; 27 import '../util/util.dart';
28 import '../util/uri_extras.dart' show relativize;
28 29
29 part 'backend.dart'; 30 part 'backend.dart';
30 part 'constant_emitter.dart'; 31 part 'constant_emitter.dart';
31 part 'constant_system_javascript.dart'; 32 part 'constant_system_javascript.dart';
32 part 'emitter.dart'; 33 part 'emitter.dart';
33 part 'emitter_no_eval.dart'; 34 part 'emitter_no_eval.dart';
34 part 'minify_namer.dart'; 35 part 'minify_namer.dart';
35 part 'namer.dart'; 36 part 'namer.dart';
36 part 'native_emitter.dart'; 37 part 'native_emitter.dart';
37 part 'runtime_types.dart'; 38 part 'runtime_types.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698