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

Unified Diff: sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart

Issue 701793002: Fix a bug in the handling of Phi nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comments Created 6 years, 1 month 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/inferrer/simple_types_inferrer.dart
diff --git a/sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart
index 5ba65f1fa5ddf0a10ed0e27f6aae3f95b8b19682..f06b1ccafc9f8913e0e4797441cb8ba668394dca 100644
--- a/sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart
+++ b/sdk/lib/_internal/compiler/implementation/inferrer/simple_types_inferrer.dart
@@ -137,6 +137,12 @@ class TypeMaskSystem implements TypeSystem<TypeMask> {
return inputType;
}
+ TypeMask allocateLoopPhi(ast.Node node,
+ Local variable,
+ TypeMask inputType) {
+ return inputType;
+ }
+
TypeMask simplifyPhi(ast.Node node,
Local variable,
TypeMask phiType) {

Powered by Google App Engine
This is Rietveld 408576698