Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart

Issue 2927043002: Handle `new Object()` in compile_from_dill_test (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.js_emitter.program_builder; 5 library dart2js.js_emitter.program_builder;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 import 'dart:convert' show JSON; 8 import 'dart:convert' show JSON;
9 9
10 import '../../closure.dart' show ClosureTask, ClosureFieldElement; 10 import '../../closure.dart' show ClosureTask, ClosureFieldElement;
(...skipping 10 matching lines...) Expand all
21 Element, 21 Element,
22 Elements, 22 Elements,
23 FieldElement, 23 FieldElement,
24 FunctionElement, 24 FunctionElement,
25 FunctionSignature, 25 FunctionSignature,
26 GetterElement, 26 GetterElement,
27 LibraryElement, 27 LibraryElement,
28 MemberElement, 28 MemberElement,
29 MethodElement, 29 MethodElement,
30 ParameterElement, 30 ParameterElement,
31 TypedefElement, 31 TypedefElement;
32 VariableElement;
33 import '../../elements/entities.dart'; 32 import '../../elements/entities.dart';
34 import '../../elements/resolution_types.dart' 33 import '../../elements/resolution_types.dart'
35 show ResolutionDartType, ResolutionFunctionType, ResolutionTypedefType; 34 show ResolutionDartType, ResolutionFunctionType, ResolutionTypedefType;
36 import '../../elements/types.dart' show DartType, DartTypes; 35 import '../../elements/types.dart' show DartType, DartTypes;
37 import '../../js/js.dart' as js; 36 import '../../js/js.dart' as js;
38 import '../../js_backend/backend.dart' show SuperMemberData; 37 import '../../js_backend/backend.dart' show SuperMemberData;
39 import '../../js_backend/backend_usage.dart'; 38 import '../../js_backend/backend_usage.dart';
40 import '../../js_backend/constant_handler_javascript.dart' 39 import '../../js_backend/constant_handler_javascript.dart'
41 show JavaScriptConstantCompiler; 40 show JavaScriptConstantCompiler;
42 import '../../js_backend/custom_elements_analysis.dart'; 41 import '../../js_backend/custom_elements_analysis.dart';
(...skipping 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 Constant constant = new Constant(name, holder, constantValue); 1182 Constant constant = new Constant(name, holder, constantValue);
1184 _constants[constantValue] = constant; 1183 _constants[constantValue] = constant;
1185 } 1184 }
1186 } 1185 }
1187 1186
1188 Holder _registerStaticStateHolder() { 1187 Holder _registerStaticStateHolder() {
1189 return _registry.registerHolder(_namer.staticStateHolder, 1188 return _registry.registerHolder(_namer.staticStateHolder,
1190 isStaticStateHolder: true); 1189 isStaticStateHolder: true);
1191 } 1190 }
1192 } 1191 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/program_builder/field_visitor.dart ('k') | pkg/compiler/lib/src/kernel/element_map_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698