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

Unified Diff: pkg/compiler/lib/src/js_backend/namer.dart

Issue 784843002: Move isolateStaticClosureAccess and isolateLazyInitializerAccess from namer to emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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_backend/namer.dart
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart
index 4ee2c841cb1f2a8d4571b7a96ff4ee61cc471bd5..2675aa820db5e7d7022bf8f158f4affc4f8aea71 100644
--- a/pkg/compiler/lib/src/js_backend/namer.dart
+++ b/pkg/compiler/lib/src/js_backend/namer.dart
@@ -866,16 +866,6 @@ class Namer implements ClosureNamer {
return getMappedGlobalName("${getNameX(element)}\$closure");
}
- jsAst.Expression isolateLazyInitializerAccess(Element element) {
- return js('#.#',
- [globalObjectFor(element), getLazyInitializerName(element)]);
- }
-
- jsAst.Expression isolateStaticClosureAccess(Element element) {
- return js('#.#()',
- [globalObjectFor(element), getStaticClosureName(element)]);
- }
-
// This name is used as part of the name of a TypeConstant
String uniqueNameForTypeConstantElement(Element element) {
// TODO(sra): If we replace the period with an identifier character,
« no previous file with comments | « pkg/compiler/lib/src/js_backend/constant_emitter.dart ('k') | pkg/compiler/lib/src/js_emitter/code_emitter_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698