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() {} |
} |
/** |