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

Unified Diff: lib/compiler/implementation/ssa/tracer.dart

Issue 10836339: Get rid of the name in HInvokeDynamic (just use the selector instead). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix checked mode. Created 8 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
Index: lib/compiler/implementation/ssa/tracer.dart
diff --git a/lib/compiler/implementation/ssa/tracer.dart b/lib/compiler/implementation/ssa/tracer.dart
index e3356b045fd755d5c3c6857f36ca08565d84f6b1..918d44a00f5ad2c5c7345ec6fcd91e40cd5b9a24 100644
--- a/lib/compiler/implementation/ssa/tracer.dart
+++ b/lib/compiler/implementation/ssa/tracer.dart
@@ -318,7 +318,8 @@ class HInstructionStringifier implements HVisitor<String> {
String visitInvokeDynamic(HInvokeDynamic invoke, String kind) {
String receiver = temporaryId(invoke.receiver);
- String target = "($kind) $receiver.${invoke.name.slowToString()}";
+ String name = invoke.selector.name.slowToString();
+ String target = "($kind) $receiver.$name";
int offset = HInvoke.ARGUMENTS_OFFSET;
List arguments =
invoke.inputs.getRange(offset, invoke.inputs.length - offset);
« no previous file with comments | « lib/compiler/implementation/ssa/optimize.dart ('k') | tests/language/compound_assignment_operator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698