| 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 9aa445dcb59148df3a683f92d4e37a383c37ac2b..fde47f1bcf04178b2807e1ad1372f9cd38d564e1 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
|
| @@ -702,8 +702,10 @@ class JavaScriptBackend extends Backend {
|
|
|
| final RuntimeTypeInformation rti;
|
|
|
| - JavaScriptBackend(Compiler compiler, bool generateSourceMap, bool disableEval)
|
| - : namer = determineNamer(compiler),
|
| + JavaScriptBackend(Compiler compiler,
|
| + bool generateSourceMap,
|
| + bool disableEval)
|
| + : namer = new Namer(compiler),
|
| returnInfo = new Map<Element, ReturnInfo>(),
|
| invalidateAfterCodegen = new List<Element>(),
|
| interceptors = new Interceptors(compiler),
|
| @@ -721,12 +723,6 @@ class JavaScriptBackend extends Backend {
|
| fieldTypes = new FieldTypesRegistry(this);
|
| }
|
|
|
| - static Namer determineNamer(Compiler compiler) {
|
| - return compiler.enableMinification ?
|
| - new MinifyNamer(compiler) :
|
| - new Namer(compiler);
|
| - }
|
| -
|
| bool isInterceptorClass(Element element) {
|
| if (element == null) return false;
|
| return element == jsStringClass
|
|
|