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

Unified Diff: lib/compiler/implementation/ssa/codegen.dart

Issue 10139012: Refactor types in ssa nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file. Created 8 years, 8 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: lib/compiler/implementation/ssa/codegen.dart
diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
index 6fa8c8670a8f67d210c7b978f4a61a82a2a5f80f..ea0d298461556c979eb2fc73051421de6b100e5e 100644
--- a/lib/compiler/implementation/ssa/codegen.dart
+++ b/lib/compiler/implementation/ssa/codegen.dart
@@ -1644,7 +1644,7 @@ class SsaOptimizedCodeGenerator extends SsaCodeGenerator {
checkImmutableArray(input);
buffer.add(') ');
bailout(node, 'Not a mutable array');
- } else if (node.isArray()) {
+ } else if (node.isReadableArray()) {
buffer.add('if (');
checkObject(input, '!==');
buffer.add('||');

Powered by Google App Engine
This is Rietveld 408576698