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

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

Issue 11090023: Address Peter's comments on Function.apply. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | « no previous file | lib/compiler/implementation/lib/core_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/compiler.dart
===================================================================
--- lib/compiler/implementation/compiler.dart (revision 13413)
+++ lib/compiler/implementation/compiler.dart (working copy)
@@ -384,12 +384,10 @@
assertMethod = jsHelperLibrary.find(const SourceString('assert'));
identicalFunction = coreLibrary.find(const SourceString('identical'));
+ functionApplyMethod =
+ jsHelperLibrary.find(const SourceString('applyFunction'));
initializeSpecialClasses();
-
- functionClass.ensureResolved(this);
- functionApplyMethod =
- functionClass.lookupLocalMember(const SourceString('apply'));
}
void loadCoreImplLibrary() {
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698