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

Unified Diff: dart/sdk/lib/_internal/lib/js_mirrors.dart

Issue 23149002: Don't cache non-Interceptor interceptors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Long lines Created 7 years, 4 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 | « dart/sdk/lib/_internal/lib/js_helper.dart ('k') | dart/tests/lib/mirrors/intercepted_cache_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/_internal/lib/js_mirrors.dart
diff --git a/dart/sdk/lib/_internal/lib/js_mirrors.dart b/dart/sdk/lib/_internal/lib/js_mirrors.dart
index 25ca338013bc55ae1f739a0cf0dca130b6874d38..0d51c3f8027bfb7025ef1152a0786e15d0a14760 100644
--- a/dart/sdk/lib/_internal/lib/js_mirrors.dart
+++ b/dart/sdk/lib/_internal/lib/js_mirrors.dart
@@ -505,7 +505,6 @@ class JsInstanceMirror extends JsObjectMirror implements InstanceMirror {
JS('void', r'#.constructor[#] = #', reflectee, cacheName, cache);
}
var cacheEntry = JsCache.fetch(cache, reflectiveName);
- cacheEntry = null; // Work around bug in caching.
var result;
Invocation invocation;
if (cacheEntry == null) {
« no previous file with comments | « dart/sdk/lib/_internal/lib/js_helper.dart ('k') | dart/tests/lib/mirrors/intercepted_cache_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698