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

Side by Side Diff: pkg/compiler/lib/src/js_backend/js_backend.dart

Issue 929313002: Use an enum in embedded_names as input to JS_GET_NAME. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 8
9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart' 9 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
10 as embeddedNames; 10 as embeddedNames;
11 import 'package:_internal/compiler/js_lib/shared/embedded_names.dart'
12 show JsGetName;
11 13
12 import '../closure.dart'; 14 import '../closure.dart';
13 import '../constants/expressions.dart'; 15 import '../constants/expressions.dart';
14 import '../constants/values.dart'; 16 import '../constants/values.dart';
15 import '../dart2jslib.dart'; 17 import '../dart2jslib.dart';
16 import '../dart_types.dart'; 18 import '../dart_types.dart';
17 import '../elements/elements.dart'; 19 import '../elements/elements.dart';
18 import '../io/code_output.dart'; 20 import '../io/code_output.dart';
19 import '../js/js.dart' as jsAst; 21 import '../js/js.dart' as jsAst;
20 import '../js/js.dart' show js; 22 import '../js/js.dart' show js;
(...skipping 22 matching lines...) Expand all
43 part 'backend.dart'; 45 part 'backend.dart';
44 part 'checked_mode_helpers.dart'; 46 part 'checked_mode_helpers.dart';
45 part 'constant_emitter.dart'; 47 part 'constant_emitter.dart';
46 part 'constant_handler_javascript.dart'; 48 part 'constant_handler_javascript.dart';
47 part 'constant_system_javascript.dart'; 49 part 'constant_system_javascript.dart';
48 part 'custom_elements_analysis.dart'; 50 part 'custom_elements_analysis.dart';
49 part 'minify_namer.dart'; 51 part 'minify_namer.dart';
50 part 'namer.dart'; 52 part 'namer.dart';
51 part 'runtime_types.dart'; 53 part 'runtime_types.dart';
52 part 'type_variable_handler.dart'; 54 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698