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

Unified Diff: lib/compiler/implementation/js_backend/emitter.dart

Issue 10978044: Avoid generating is$Object, and fix a typo in a condition. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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: lib/compiler/implementation/js_backend/emitter.dart
===================================================================
--- lib/compiler/implementation/js_backend/emitter.dart (revision 12904)
+++ lib/compiler/implementation/js_backend/emitter.dart (working copy)
@@ -672,6 +672,7 @@
generateIsTestsOn(classElement, (Element other) {
String code;
+ if (other.isObject(compiler)) return;
if (nativeEmitter.requiresNativeIsCheck(other)) {
code = 'function() { return true; }';
} else {
« no previous file with comments | « lib/compiler/implementation/enqueue.dart ('k') | lib/compiler/implementation/js_backend/native_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698