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

Unified Diff: pkg/compiler/lib/src/js_emitter/js_emitter.dart

Issue 1153243003: dart2js: Use frequency of occurence to sort metadata indices. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Addressed sra's comments Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/js_emitter/js_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/js_emitter.dart b/pkg/compiler/lib/src/js_emitter/js_emitter.dart
index 3b4bfa0b3b1957b78c4a0eed5b5fe117f3a4ecd6..9778c938f3b5cd8b1b5e1d23d9a18821952b0817 100644
--- a/pkg/compiler/lib/src/js_emitter/js_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/js_emitter.dart
@@ -5,6 +5,7 @@
library dart2js.js_emitter;
import 'dart:convert';
+import 'dart:collection' show LinkedHashMap;
import '../common.dart';
@@ -38,6 +39,8 @@ import '../js/js.dart' as jsAst;
import '../js/js.dart' show
js;
+import 'package:js_ast/src/precedence.dart' as js_precedence;
+
import '../js_backend/js_backend.dart' show
CheckedModeHelper,
ConstantEmitter,
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/helpers.dart ('k') | pkg/compiler/lib/src/js_emitter/metadata_collector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698