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

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

Issue 764353002: Follow up to CL 764533002. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42279 and CL 760383003. 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
« no previous file with comments | « no previous file | dart/pkg/compiler/lib/src/js_emitter/old_emitter/class_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/js_backend/namer.dart
diff --git a/dart/pkg/compiler/lib/src/js_backend/namer.dart b/dart/pkg/compiler/lib/src/js_backend/namer.dart
index 2675aa820db5e7d7022bf8f158f4affc4f8aea71..e1bc8e41dca9b863a3632fcd5328a93fb80a6e37 100644
--- a/dart/pkg/compiler/lib/src/js_backend/namer.dart
+++ b/dart/pkg/compiler/lib/src/js_backend/namer.dart
@@ -990,6 +990,13 @@ class Namer implements ClosureNamer {
}
}
+ String get incrementalHelperName => r'$dart_unsafe_eval';
+
+ jsAst.Expression get accessIncrementalHelper {
+ assert(compiler.hasIncrementalSupport);
+ return js('self.${incrementalHelperName}');
+ }
+
void forgetElement(Element element) {
String globalName = globals[element];
invariant(element, globalName != null, message: 'No global name.');
« no previous file with comments | « no previous file | dart/pkg/compiler/lib/src/js_emitter/old_emitter/class_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698