| Index: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| index ce24d01a7258989997626ad3831062e093a305b4..cec7ffe61b86ef67c0a2899e16c17392c2c89ec8 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| @@ -1524,6 +1524,24 @@ class JavaScriptBackend extends Backend {
|
| return fieldTypes.optimisticFieldType(element);
|
| }
|
|
|
| + Element getImplementationClass(Element element) {
|
| + if (element == compiler.intClass) {
|
| + return jsIntClass;
|
| + } else if (element == compiler.boolClass) {
|
| + return jsBoolClass;
|
| + } else if (element == compiler.numClass) {
|
| + return jsNumberClass;
|
| + } else if (element == compiler.doubleClass) {
|
| + return jsDoubleClass;
|
| + } else if (element == compiler.stringClass) {
|
| + return jsStringClass;
|
| + } else if (element == compiler.listClass) {
|
| + return jsArrayClass;
|
| + } else {
|
| + return element;
|
| + }
|
| + }
|
| +
|
| /**
|
| * Returns the checked mode helper that will be needed to do a type check/type
|
| * cast on [type] at runtime. Note that this method is being called both by
|
|
|