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

Unified Diff: pkg/compiler/lib/src/js_backend/backend_serialization.dart

Issue 2668723002: Handle JS-calls in impact_test. (Closed)
Patch Set: dartfmt Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/kernel/world_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/backend_serialization.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend_serialization.dart b/pkg/compiler/lib/src/js_backend/backend_serialization.dart
index 834daaea3b87b0111bfae81654913cd8dbac5485..a4e577e1fe46dea59a7101fe7ec5a63e38ed5554 100644
--- a/pkg/compiler/lib/src/js_backend/backend_serialization.dart
+++ b/pkg/compiler/lib/src/js_backend/backend_serialization.dart
@@ -5,8 +5,9 @@
library js_backend.serialization;
import '../common/backend_api.dart' show BackendSerialization;
-import '../elements/resolution_types.dart';
import '../elements/elements.dart';
+import '../elements/resolution_types.dart';
+import '../elements/types.dart';
import '../js/js.dart' as js;
import '../native/native.dart';
import '../serialization/keys.dart';
@@ -156,7 +157,7 @@ class NativeBehaviorSerialization {
static const int SPECIAL_TYPE = 2;
static int getTypeKind(var type) {
- if (type is ResolutionDartType) {
+ if (type is DartType) {
// TODO(johnniwinther): Remove this when annotation are no longer resolved
// to this-types.
if (type is GenericType &&
« no previous file with comments | « no previous file | pkg/compiler/lib/src/kernel/world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698