Chromium Code Reviews

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

Issue 44143002: Fix issue 12336: there was a bug when updating phis at exit of a block with a HTypeKnown instructio… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/compiler/implementation/ssa/tracer.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/ssa/tracer.dart (revision 29323)
+++ sdk/lib/_internal/compiler/implementation/ssa/tracer.dart (working copy)
@@ -263,6 +263,9 @@
String visitExit(HExit node) => "exit";
String visitFieldGet(HFieldGet node) {
+ if (node.isNullCheck) {
+ return 'null check on ${temporaryId(node.receiver)}';
+ }
String fieldName = node.element.name;
return 'field get ${temporaryId(node.receiver)}.$fieldName';
}

Powered by Google App Engine