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

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

Issue 12299008: Stop resolving all of js_helper unconditionally. (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/compiler.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/compiler.dart (revision 18614)
+++ sdk/lib/_internal/compiler/implementation/compiler.dart (working copy)
@@ -126,8 +126,24 @@
return new ItemCompilationContext();
}
- SourceString getCheckedModeHelper(DartType type) => null;
+ // The following methods are hooks for the backend to register its
+ // helper methods.
ahe 2013/02/18 12:38:04 Categories like this doesn't work, what happens if
void registerInstantiatedClass(ClassElement cls, Enqueuer enqueuer) {}
+ void registerStringInterpolation() {}
ahe 2013/02/18 12:38:04 I think all of the following methods should take t
+ void registerCatchStatement() {}
+ void registerThrow() {}
+ void registerLazyField() {}
+ void registerTypeLiteral() {}
+ void registerStackTraceInCatch() {}
+ void registerIsCheck(DartType type, Enqueuer enqueuer) {}
+ void registerAsCheck(DartType type) {}
+ void registerThrowNoSuchMethod() {}
+ void registerThrowRuntimeError() {}
+ void registerAbstractClassInstantiation() {}
+ void registerFallThroughError() {}
+ void registerSuperNoSuchMethod() {}
+ void registerConstantMap() {}
+ void registerRuntimeType() {}
}
/**

Powered by Google App Engine
This is Rietveld 408576698