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

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

Issue 2381793003: Rename Universe to WorldBuilder. (Closed)
Patch Set: Created 4 years, 3 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
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 f465f76b23fbfb375c1578617ce0f415be1e755c..d3adc4bb207a2e3cc4f6729679cab872d4f230ac 100644
--- a/pkg/compiler/lib/src/js_backend/runtime_types.dart
+++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart
@@ -46,7 +46,7 @@ abstract class RuntimeTypes {
///
/// This function must be called after all is-checks have been registered.
void addImplicitChecks(
- Universe universe, Iterable<ClassElement> classesUsingChecks);
+ WorldBuilder universe, Iterable<ClassElement> classesUsingChecks);
/// Return all classes that are referenced in the type of the function, i.e.,
/// in the return type or the argument types.
@@ -170,7 +170,7 @@ class _RuntimeTypes implements RuntimeTypes {
*/
@override
void addImplicitChecks(
- Universe universe, Iterable<ClassElement> classesUsingChecks) {
+ WorldBuilder universe, Iterable<ClassElement> classesUsingChecks) {
// If there are no classes that use their variables in checks, there is
// nothing to do.
if (classesUsingChecks.isEmpty) return;
@@ -364,7 +364,8 @@ class _RuntimeTypes implements RuntimeTypes {
computeChecks(allInstantiatedArguments, checkedArguments);
}
- Set<DartType> computeInstantiatedTypesAndClosures(CodegenUniverse universe) {
+ Set<DartType> computeInstantiatedTypesAndClosures(
+ CodegenWorldBuilder universe) {
Set<DartType> instantiatedTypes =
new Set<DartType>.from(universe.instantiatedTypes);
for (DartType instantiatedType in universe.instantiatedTypes) {

Powered by Google App Engine
This is Rietveld 408576698