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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart

Issue 11576032: Revert r16112 from trunk. (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 8 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: dart/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart
===================================================================
--- dart/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart (revision 16161)
+++ dart/sdk/lib/_internal/compiler/implementation/lib/core_patch.dart (working copy)
@@ -213,6 +213,6 @@
}
// Patch for 'identical' function.
-// This is very magical: the compiler knows how to optimize a call to
-// identical, so we can just express identical in terms of itself.
-patch bool identical(Object a, Object b) => identical(a, b);
+patch bool identical(Object a, Object b) {
+ throw new Error('Should not reach the body of identical');
+}
« no previous file with comments | « dart/runtime/lib/identical_patch.dart ('k') | dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698