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

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

Issue 1212663004: dart2js cps: Fix a couple of minor issues. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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: 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 fa33169e49131d1bb5d9a976f7a9d912d7e48672..7d8a73d7bfcfa1d605a8d079a1bf56840a574472 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart
@@ -289,9 +289,7 @@ class InvokeMethod extends Expression implements Invoke {
final SourceInformation sourceInformation;
/// If true, it is known that the receiver cannot be `null`.
- ///
- /// This field is `null` until initialized by optimization phases.
- bool receiverIsNotNull;
+ bool receiverIsNotNull = false;
asgerf 2015/06/29 14:09:12 The tree builder expects this to be set, but it's
InvokeMethod(Primitive receiver,
this.selector,

Powered by Google App Engine
This is Rietveld 408576698