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

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

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 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/ssa/optimize.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
index e27f697219c86f8b502a192a324313fd6a712c9c..26f990dbb28a1798b1bb32c86187bba6635fc3a2 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart
@@ -398,7 +398,6 @@ class SsaConstantFolder extends HBaseVisitor implements OptimizationPhase {
HInstruction right = node.right;
HType leftType = types[left];
HType rightType = types[right];
- assert(!leftType.isConflicting() && !rightType.isConflicting());
// We don't optimize on numbers to preserve the runtime semantics.
if (!(left.isNumberOrNull(types) && right.isNumberOrNull(types)) &&
@@ -752,6 +751,7 @@ class SsaDeadCodeEliminator extends HGraphVisitor implements OptimizationPhase {
&& instruction is !HInvokeDynamicGetter
&& instruction is !HCheck
&& instruction is !HTypeGuard
+ && instruction is !HParameterValue
&& !instruction.isControlFlow();
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/ssa/nodes.dart ('k') | sdk/lib/_internal/compiler/implementation/ssa/tracer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698