Chromium Code Reviews| Index: lib/compiler/implementation/compiler.dart |
| =================================================================== |
| --- lib/compiler/implementation/compiler.dart (revision 6686) |
| +++ lib/compiler/implementation/compiler.dart (working copy) |
| @@ -385,6 +385,13 @@ |
| enqueuer.registerInvocation(methodName, selector); |
| } |
| + void registerDynamicInvocationOn(SourceString methodName, |
|
floitsch
2012/04/18 19:18:48
I would prefer Element first.
ngeoffray
2012/04/19 08:09:33
I changed the signature to only take an element.
|
| + Selector selector, |
| + Element element) { |
| + assert(selector !== null); |
|
floitsch
2012/04/18 19:18:48
I think we need to register the invocation too.
ngeoffray
2012/04/19 08:09:33
If you do that, then all 'foo' methods will be com
|
| + addToWorkList(element); |
| + } |
| + |
| void registerDynamicGetter(SourceString methodName) { |
| enqueuer.registerGetter(methodName); |
| } |