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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart

Issue 17599008: Stop passing the selector name separately to methods in the enqueuer. Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
index 08c479485829ed6d4677216b11fc9856cd530196..bef43a09ace310152c6fcef2f944938f0828999a 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
@@ -1562,16 +1562,16 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
// may know something about the types of closures that need
// the specific closure call method.
Selector call = new Selector.callClosureFrom(selector);
- world.registerDynamicInvocation(call.name, call);
+ world.registerDynamicInvocation(call);
}
SourceString name = node.selector.name;
ngeoffray 2013/06/25 12:21:00 Remove line above.
kasperl 2013/06/25 12:28:32 Done.
- world.registerDynamicInvocation(name, selector);
+ world.registerDynamicInvocation(selector);
}
void registerSetter(HInvokeDynamic node) {
Selector selector = getOptimizedSelectorFor(node, node.selector);
- world.registerDynamicSetter(selector.name, selector);
+ world.registerDynamicSetter(selector);
HType valueType = node.isInterceptedCall
? node.inputs[2].instructionType
: node.inputs[1].instructionType;
@@ -1579,7 +1579,7 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
void registerGetter(HInvokeDynamic node) {
Selector selector = getOptimizedSelectorFor(node, node.selector);
- world.registerDynamicGetter(selector.name, selector);
+ world.registerDynamicGetter(selector);
}
visitInvokeDynamicSetter(HInvokeDynamicSetter node) {
@@ -1603,7 +1603,7 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
backend.namer.invocationName(call),
visitArguments(node.inputs)),
node);
- world.registerDynamicInvocation(call.name, call);
+ world.registerDynamicInvocation(call);
}
visitInvokeStatic(HInvokeStatic node) {
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698