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

Side by Side Diff: pkg/compiler/lib/src/js_backend/backend_serialization.dart

Issue 2221893003: pkg/compiler: fix imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 js_backend.serialization; 5 library js_backend.serialization;
6 6
7 import '../common/backend_api.dart' show BackendSerialization; 7 import '../common/backend_api.dart' show BackendSerialization;
8 import '../dart_types.dart'; 8 import '../dart_types.dart';
9 import '../elements/elements.dart'; 9 import '../elements/elements.dart';
10 import '../js/js.dart' as js; 10 import '../js/js.dart' as js;
11 import '../native/native.dart'; 11 import '../native/native.dart';
12 import '../serialization/keys.dart';
12 import '../serialization/serialization.dart' 13 import '../serialization/serialization.dart'
13 show DeserializerPlugin, ObjectDecoder, ObjectEncoder, SerializerPlugin; 14 show DeserializerPlugin, ObjectDecoder, ObjectEncoder, SerializerPlugin;
14 import '../serialization/keys.dart';
15 import '../universe/side_effects.dart'; 15 import '../universe/side_effects.dart';
16 import 'js_backend.dart'; 16 import 'js_backend.dart';
17 17
18 const String _BACKEND_DATA_TAG = 'jsBackendData'; 18 const String _BACKEND_DATA_TAG = 'jsBackendData';
19 const Key DART_TYPES_RETURNED = const Key('dartTypesReturned'); 19 const Key DART_TYPES_RETURNED = const Key('dartTypesReturned');
20 const Key THIS_TYPES_RETURNED = const Key('thisTypesReturned'); 20 const Key THIS_TYPES_RETURNED = const Key('thisTypesReturned');
21 const Key SPECIAL_TYPES_RETURNED = const Key('specialTypesReturned'); 21 const Key SPECIAL_TYPES_RETURNED = const Key('specialTypesReturned');
22 const Key DART_TYPES_INSTANTIATED = const Key('dartTypesInstantiated'); 22 const Key DART_TYPES_INSTANTIATED = const Key('dartTypesInstantiated');
23 const Key THIS_TYPES_INSTANTIATED = const Key('thisTypesInstantiated'); 23 const Key THIS_TYPES_INSTANTIATED = const Key('thisTypesInstantiated');
24 const Key SPECIAL_TYPES_INSTANTIATED = const Key('specialTypesInstantiated'); 24 const Key SPECIAL_TYPES_INSTANTIATED = const Key('specialTypesInstantiated');
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 behavior.codeTemplate = js.js.parseForeignJS(behavior.codeTemplateText); 249 behavior.codeTemplate = js.js.parseForeignJS(behavior.codeTemplateText);
250 } 250 }
251 251
252 behavior.throwBehavior = 252 behavior.throwBehavior =
253 decoder.getEnum(THROW_BEHAVIOR, NativeThrowBehavior.values); 253 decoder.getEnum(THROW_BEHAVIOR, NativeThrowBehavior.values);
254 behavior.isAllocation = decoder.getBool(IS_ALLOCATION); 254 behavior.isAllocation = decoder.getBool(IS_ALLOCATION);
255 behavior.useGvn = decoder.getBool(USE_GVN); 255 behavior.useGvn = decoder.getBool(USE_GVN);
256 return behavior; 256 return behavior;
257 } 257 }
258 } 258 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend_impact.dart ('k') | pkg/compiler/lib/src/js_backend/codegen/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698