Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
| index 93f5b6e926830ec36146c2efc91d3004fb84d2cd..8332344ea1ccf594571565c2122d1dfa2f8b5cb8 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
| @@ -170,6 +170,7 @@ function(cls, fields, prototype) { |
| constructor = new Function(str)(); |
| } |
| constructor.prototype = prototype; |
| + constructor.builtin\$cls = cls; |
|
ngeoffray
2012/11/16 13:47:35
You might want to check with Peter, Kasper or Flor
karlklose
2012/11/20 10:35:26
I talked to Florian and he sees no performance imp
|
| return constructor; |
| }"""; |
| } |