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

Unified Diff: pkg/compiler/lib/src/ssa/optimize.dart

Issue 2974223002: Support is tests (Closed)
Patch Set: Cleanup Created 3 years, 5 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/ssa/optimize.dart
diff --git a/pkg/compiler/lib/src/ssa/optimize.dart b/pkg/compiler/lib/src/ssa/optimize.dart
index 6fbfdd8d858a76f6ff31e2c1034e1fe8cb4b51cd..d4e0766dea5bde70217524d6ab62c5ee0da14c7e 100644
--- a/pkg/compiler/lib/src/ssa/optimize.dart
+++ b/pkg/compiler/lib/src/ssa/optimize.dart
@@ -850,7 +850,7 @@ class SsaInstructionSimplifier extends HBaseVisitor
}
HInstruction visitTypeConversion(HTypeConversion node) {
- ResolutionDartType type = node.typeExpression;
+ DartType type = node.typeExpression;
if (type != null) {
if (type.isMalformed) {
// Malformed types are treated as dynamic statically, but should

Powered by Google App Engine
This is Rietveld 408576698