Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/lib/interceptors.dart |
| =================================================================== |
| --- sdk/lib/_internal/compiler/implementation/lib/interceptors.dart (revision 19046) |
| +++ sdk/lib/_internal/compiler/implementation/lib/interceptors.dart (working copy) |
| @@ -31,14 +31,6 @@ |
| part 'js_string.dart'; |
| /** |
| - * The interceptor class for all non-primitive objects. All its |
| - * members are synthethized by the compiler's emitter. |
| - */ |
| -class ObjectInterceptor { |
| - const ObjectInterceptor(); |
| -} |
| - |
| -/** |
| * Get the interceptor for [object]. Called by the compiler when it needs |
| * to emit a call to an intercepted method, that is a method that is |
| * defined in an interceptor class. |
| @@ -50,6 +42,13 @@ |
| } |
| /** |
| + * If [InvocationMirror.invokeOn] is being used, this variable |
| + * contains a JavaScript array with the names of methods that are |
| + * intercepted. |
|
sra1
2013/02/27 05:13:28
That could be several thousand names with the DOM.
ngeoffray
2013/02/28 10:39:42
They're used in InvocationMirror.invokeOn, where w
|
| + */ |
| +var interceptedNames; |
| + |
| +/** |
| * The interceptor class for tear-off static methods. Unlike |
| * tear-off instance methods, tear-off static methods are just the JS |
| * function, and methods inherited from Object must therefore be |