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

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

Issue 1318453003: dart2js CPS: simple inlining of static invocations. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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: pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
index 71ff03dd8964bfa7642e793c62056935bab29f20..a04fb4eb5d170003055ba4d5d5961cfb0a0ed469 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes_sexpr.dart
@@ -427,11 +427,11 @@ class ConstantStringifier extends ConstantValueVisitor<String, Null> {
}
String visitInterceptor(InterceptorConstantValue constant, _) {
- return _failWith(constant);
+ return '(Interceptor "${constant.unparse()}")';
}
String visitSynthetic(SyntheticConstantValue constant, _) {
- return _failWith(constant);
+ return '(Synthetic "${constant.unparse()}")';
}
String visitDeferred(DeferredConstantValue constant, _) {
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/type_propagation.dart » ('j') | pkg/compiler/lib/src/cps_ir/type_propagation.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698