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

Unified Diff: sdk/lib/_internal/compiler/implementation/ir/ir_tracer.dart

Issue 349923004: Add support for superSend to the new IR and dart backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also handle implicit this, fix a typeerror. Created 6 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
Index: sdk/lib/_internal/compiler/implementation/ir/ir_tracer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ir/ir_tracer.dart b/sdk/lib/_internal/compiler/implementation/ir/ir_tracer.dart
index 3928a3b838ebd2648da0b64941fac0372ab8daf3..593eaf2ec350ea782bdd85445ad4f27159b0cfb3 100644
--- a/sdk/lib/_internal/compiler/implementation/ir/ir_tracer.dart
+++ b/sdk/lib/_internal/compiler/implementation/ir/ir_tracer.dart
@@ -119,6 +119,15 @@ class IRTracer extends TracerUtil implements ir.Visitor {
"InvokeMethod $receiver $callName ($args) $kont");
}
+ visitInvokeSuperMethod(ir.InvokeSuperMethod node) {
+ String dummy = names.name(node);
+ String callName = node.selector.name;
+ String args = node.arguments.map(formatReference).join(', ');
+ String kont = formatReference(node.continuation);
+ printStmt(dummy,
+ "InvokeSuperMethod $callName ($args) $kont");
+ }
+
visitInvokeConstructor(ir.InvokeConstructor node) {
String dummy = names.name(node);
String callName;

Powered by Google App Engine
This is Rietveld 408576698