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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart

Issue 12087101: Turn getters and setters that we know are not intercepted into regular getter and setter calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (revision 18037)
+++ sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (working copy)
@@ -636,6 +636,7 @@
Element jsArrayAdd;
Element jsStringSplit;
Element jsStringConcat;
+ Element jsStringToString;
Element getInterceptorMethod;
Element fixedLengthListConstructor;
bool seenAnyClass = false;
@@ -801,6 +802,8 @@
jsStringClass, const SourceString('split'));
jsStringConcat = compiler.lookupElementIn(
jsStringClass, const SourceString('concat'));
+ jsStringToString = compiler.lookupElementIn(
+ jsStringClass, const SourceString('toString'));
for (ClassElement cls in classes) {
if (cls != null) interceptedClasses[cls] = null;

Powered by Google App Engine
This is Rietveld 408576698