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

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

Issue 194663005: Take is checks into account when deriving interceptor classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/ssa/tracer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart b/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
index 37731ba36fd9bd7429291f6ceb9226e910ff285a..2e13cc512fd2897abc299b1526750646b566e922 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
@@ -329,6 +329,11 @@ class HInstructionStringifier implements HVisitor<String> {
String visitInterceptor(HInterceptor node) {
String value = temporaryId(node.inputs[0]);
+ if (node.interceptedClasses != null) {
+ JavaScriptBackend backend = compiler.backend;
+ String cls = backend.namer.getInterceptorSuffix(node.interceptedClasses);
+ return "Intercept ($cls): $value";
+ }
return "Intercept: $value";
}

Powered by Google App Engine
This is Rietveld 408576698