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

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

Issue 848063003: dart2js: move NativeEmitter into js_emitter directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove spurious new line. Created 5 years, 11 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
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/js_emitter.dart ('k') | pkg/compiler/lib/src/native/native.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_emitter/native_emitter.dart
diff --git a/pkg/compiler/lib/src/js_backend/native_emitter.dart b/pkg/compiler/lib/src/js_emitter/native_emitter.dart
similarity index 99%
rename from pkg/compiler/lib/src/js_backend/native_emitter.dart
rename to pkg/compiler/lib/src/js_emitter/native_emitter.dart
index c1f2239b1240a296e1bbe34b433764f149375360..1817b09ef8ef6d93629904cdd6d0200d88ec3bf2 100644
--- a/pkg/compiler/lib/src/js_backend/native_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/native_emitter.dart
@@ -2,7 +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 js_backend;
+part of dart2js.js_emitter;
class NativeEmitter {
@@ -214,7 +214,7 @@ class NativeEmitter {
if (encoding != '') {
Map<String, jsAst.Expression> properties =
additionalProperties.putIfAbsent(classElement,
- () => new LinkedHashMap<String, jsAst.Expression>());
+ () => new Map<String, jsAst.Expression>());
properties[backend.namer.nativeSpecProperty] = js.string(encoding);
}
} else {
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/js_emitter.dart ('k') | pkg/compiler/lib/src/native/native.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698