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

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

Issue 171873002: Fix for interpolation codegen bug (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
index 47927478c72f969b5ecd32893072914386db0ac9..ff0e3a9c472dad79bfe7f69195d83680ad30a09d 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
@@ -1803,7 +1803,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
HInstruction left = relational.left;
HInstruction right = relational.right;
- if (left.isString(compiler) && right.isString(compiler)) {
+ if (left.isStringOrNull(compiler) && right.isStringOrNull(compiler)) {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698