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

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

Issue 2220993005: Split js_backend into multiple libraries (Closed) Base URL: git@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.dart';
8 import '../common/backend_api.dart' show BackendSerialization; 7 import '../common/backend_api.dart' show BackendSerialization;
9 import '../dart_types.dart'; 8 import '../dart_types.dart';
10 import '../elements/elements.dart'; 9 import '../elements/elements.dart';
11 import '../js/js.dart' as js; 10 import '../js/js.dart' as js;
12 import '../native/native.dart'; 11 import '../native/native.dart';
13 import '../serialization/serialization.dart' 12 import '../serialization/serialization.dart'
14 show DeserializerPlugin, ObjectDecoder, ObjectEncoder, SerializerPlugin; 13 show DeserializerPlugin, ObjectDecoder, ObjectEncoder, SerializerPlugin;
15 import '../serialization/keys.dart'; 14 import '../serialization/keys.dart';
16 import '../universe/side_effects.dart'; 15 import '../universe/side_effects.dart';
17 import 'js_backend.dart'; 16 import 'js_backend.dart';
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 behavior.codeTemplate = js.js.parseForeignJS(behavior.codeTemplateText); 249 behavior.codeTemplate = js.js.parseForeignJS(behavior.codeTemplateText);
251 } 250 }
252 251
253 behavior.throwBehavior = 252 behavior.throwBehavior =
254 decoder.getEnum(THROW_BEHAVIOR, NativeThrowBehavior.values); 253 decoder.getEnum(THROW_BEHAVIOR, NativeThrowBehavior.values);
255 behavior.isAllocation = decoder.getBool(IS_ALLOCATION); 254 behavior.isAllocation = decoder.getBool(IS_ALLOCATION);
256 behavior.useGvn = decoder.getBool(USE_GVN); 255 behavior.useGvn = decoder.getBool(USE_GVN);
257 return behavior; 256 return behavior;
258 } 257 }
259 } 258 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/checked_mode_helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698