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

Unified Diff: pkg/compiler/lib/src/ssa/codegen.dart

Issue 1408383006: Rename UniverseSelector to DynamicUse and move it to use.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 years, 1 month 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/ssa/builder.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/codegen.dart
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
index 4b9362436217b94c1d9d00a07c71bf0a091534ab..5ce317ae459976d3308e4aee183e397f583abfc9 100644
--- a/pkg/compiler/lib/src/ssa/codegen.dart
+++ b/pkg/compiler/lib/src/ssa/codegen.dart
@@ -1644,24 +1644,24 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
// the specific closure call method.
Selector call = new Selector.callClosureFrom(selector);
registry.registerDynamicUse(
- new UniverseSelector(call, null));
+ new DynamicUse(call, null));
}
registry.registerDynamicUse(
- new UniverseSelector(selector, mask));
+ new DynamicUse(selector, mask));
}
void registerSetter(HInvokeDynamic node) {
Selector selector = node.selector;
TypeMask mask = getOptimizedSelectorFor(node, selector, node.mask);
registry.registerDynamicUse(
- new UniverseSelector(selector, mask));
+ new DynamicUse(selector, mask));
}
void registerGetter(HInvokeDynamic node) {
Selector selector = node.selector;
TypeMask mask = getOptimizedSelectorFor(node, selector, node.mask);
registry.registerDynamicUse(
- new UniverseSelector(selector, mask));
+ new DynamicUse(selector, mask));
}
visitInvokeDynamicSetter(HInvokeDynamicSetter node) {
@@ -1688,7 +1688,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
visitArguments(node.inputs))
.withSourceInformation(node.sourceInformation));
registry.registerDynamicUse(
- new UniverseSelector(call, null));
+ new DynamicUse(call, null));
}
visitInvokeStatic(HInvokeStatic node) {
@@ -1775,7 +1775,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
// TODO(floitsch): we know the target. We shouldn't register a
// dynamic getter.
registry.registerDynamicUse(
- new UniverseSelector(selector, receiverType));
+ new DynamicUse(selector, receiverType));
if (superElement.isFunction) {
registry.registerStaticUse(
new StaticUse.superTearOff(superElement));
« no previous file with comments | « pkg/compiler/lib/src/ssa/builder.dart ('k') | pkg/compiler/lib/src/ssa/ssa.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698