| Index: dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| index 4922a78ca2ef32bc1c7cddf85c7941bae33e897a..09be47aeb755e81e6f9d8dff405e1fba6d5d0e0f 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| @@ -842,6 +842,11 @@ class JavaScriptBackend extends Backend {
|
| enqueueClass(enqueuer, compiler.boundClosureClass, elements);
|
| }
|
| }
|
| + if (cls == compiler.closureClass) {
|
| + enqueue(enqueuer,
|
| + compiler.findHelper(const SourceString('closureFromTearOff')),
|
| + elements);
|
| + }
|
| ClassElement result = null;
|
| if (cls == compiler.stringClass || cls == jsStringClass) {
|
| addInterceptors(jsStringClass, enqueuer, elements);
|
|
|