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

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

Issue 1223293002: dart2js: Rename old emitter to full emitter and make it its own library. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/full_emitter/deferred_output_unit_hash.dart
diff --git a/pkg/compiler/lib/src/js_emitter/helpers.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/deferred_output_unit_hash.dart
similarity index 68%
copy from pkg/compiler/lib/src/js_emitter/helpers.dart
copy to pkg/compiler/lib/src/js_emitter/full_emitter/deferred_output_unit_hash.dart
index a5591ace9b0bc766fc17068d788a55eb956d025a..8c79a8b20635f6d5505170ed3392434b964a0dcb 100644
--- a/pkg/compiler/lib/src/js_emitter/helpers.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/deferred_output_unit_hash.dart
@@ -2,16 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-part of dart2js.js_emitter;
-
-ClassElement computeMixinClass(MixinApplicationElement mixinApplication) {
- ClassElement mixin = mixinApplication.mixin;
- while (mixin.isMixinApplication) {
- mixinApplication = mixin;
- mixin = mixinApplication.mixin;
- }
- return mixin;
-}
+part of dart2js.js_emitter.full_emitter;
class _DeferredOutputUnitHash extends jsAst.DeferredString {
String _hash;
@@ -30,4 +21,4 @@ class _DeferredOutputUnitHash extends jsAst.DeferredString {
}
String toString() => "HashCode for ${_outputUnit} [$_hash]";
-}
+}

Powered by Google App Engine
This is Rietveld 408576698