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

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

Issue 1319303002: dart2js cps: Scalar replacement of aggregates (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.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
index 24938d43fc8d9cdd8342d984e711759189f30a43..3088260b14bf50261baa59987779b7b58c93468b 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
@@ -716,6 +716,8 @@ class GetField extends Primitive {
bool get isSafeForElimination => objectIsNotNull;
bool get isSafeForReordering => false;
+
+ toString() => 'GetField($field)';
}
/// Get the length of a string or native list.
@@ -865,6 +867,8 @@ class CreateInstance extends Primitive {
bool get isSafeForElimination => true;
bool get isSafeForReordering => true;
+
+ toString() => 'CreateInstance($classElement)';
}
class Interceptor extends Primitive {
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/optimizers.dart » ('j') | pkg/compiler/lib/src/cps_ir/scalar_replacement.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698