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

Unified Diff: pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart

Issue 1761903002: dart2js cps: Keep interceptors in a separate field. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Rebase Created 4 years, 10 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 | « pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart ('k') | pkg/compiler/lib/src/cps_ir/inline.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart
index 1c7779bd4a08a5ea5c872efcda5bdd8ed20ce93c..8a5386462701497b5a4e46014c81613344fb1ac3 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart
@@ -84,11 +84,14 @@ class IRTracer extends TracerUtil implements cps_ir.Visitor {
return '${names.name(param)} ${param.type}';
}
if (entryPoint != null) {
- String thisParam = entryPoint.thisParameter != null
- ? formatParameter(entryPoint.thisParameter)
+ String thisParam = entryPoint.receiverParameter != null
+ ? formatParameter(entryPoint.receiverParameter)
: 'no receiver';
+ String interceptorParam = entryPoint.interceptorParameter != null
+ ? formatParameter(entryPoint.interceptorParameter)
+ : 'no interceptor';
String params = entryPoint.parameters.map(formatParameter).join(', ');
- printStmt('x0', 'Entry ($thisParam) ($params)');
+ printStmt('x0', 'Entry ($interceptorParam) ($thisParam) ($params)');
}
String params = block.parameters.map(formatParameter).join(', ');
printStmt('x0', 'Parameters ($params)');
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart ('k') | pkg/compiler/lib/src/cps_ir/inline.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698