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

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

Issue 2239193002: Rerun formatter (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/js_backend/namer.dart ('k') | pkg/compiler/lib/src/js_emitter/metadata_collector.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/runtime_types.dart
diff --git a/pkg/compiler/lib/src/js_backend/runtime_types.dart b/pkg/compiler/lib/src/js_backend/runtime_types.dart
index 1e8cc1ca05eb52184d4b916d1179f7d54b76db68..a28f2322012b3f443f520800eddf88cb2808a41d 100644
--- a/pkg/compiler/lib/src/js_backend/runtime_types.dart
+++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart
@@ -298,6 +298,7 @@ class _RuntimeTypes implements RuntimeTypes {
methodsNeedingRti.add(method);
}
}
+
compiler.resolverWorld.closuresWithFreeTypeVariables
.forEach(analyzeMethod);
compiler.resolverWorld.callMethodsWithFreeTypeVariables
@@ -314,6 +315,7 @@ class _RuntimeTypes implements RuntimeTypes {
methodsNeedingRti.add(method);
}
}
+
compiler.resolverWorld.closuresWithFreeTypeVariables
.forEach(analyzeMethod);
compiler.resolverWorld.callMethodsWithFreeTypeVariables
@@ -417,6 +419,7 @@ class _RuntimeTypes implements RuntimeTypes {
functionArgumentCollector.collect(type);
}
}
+
collectFunctionTypeArguments(isChecks);
collectFunctionTypeArguments(checkedBounds);
@@ -432,6 +435,7 @@ class _RuntimeTypes implements RuntimeTypes {
}
}
}
+
collectTypeArguments(instantiatedTypes);
collectTypeArguments(checkedTypeArguments, isTypeArgument: true);
@@ -462,6 +466,7 @@ class _RuntimeTypes implements RuntimeTypes {
functionArgumentCollector.collect(type);
}
}
+
collectFunctionTypeArguments(instantiatedTypes);
collectFunctionTypeArguments(checkedTypeArguments);
@@ -471,6 +476,7 @@ class _RuntimeTypes implements RuntimeTypes {
collector.collect(type, isTypeArgument: isTypeArgument);
}
}
+
collectTypeArguments(isChecks);
collectTypeArguments(checkedBounds, isTypeArgument: true);
@@ -641,6 +647,7 @@ class _RuntimeTypesEncoder implements RuntimeTypesEncoder {
jsAst.Expression onVariable(TypeVariableType v) {
return new jsAst.VariableUse(v.name);
}
+
;
jsAst.Expression encoding = getTypeRepresentation(type, onVariable);
if (contextClass == null && !alwaysGenerateFunction) {
« no previous file with comments | « pkg/compiler/lib/src/js_backend/namer.dart ('k') | pkg/compiler/lib/src/js_emitter/metadata_collector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698