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

Unified Diff: pkg/compiler/lib/src/tree_ir/optimization/logical_rewriter.dart

Issue 1699033003: dart2js cps: Combine integer type check with bounds check. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Rebase Created 4 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: pkg/compiler/lib/src/tree_ir/optimization/logical_rewriter.dart
diff --git a/pkg/compiler/lib/src/tree_ir/optimization/logical_rewriter.dart b/pkg/compiler/lib/src/tree_ir/optimization/logical_rewriter.dart
index b85123c7b594c088e9e13dd2cad200957a186caa..dd44f1d1ed49be4b095f471cb34a5376eb32ef0f 100644
--- a/pkg/compiler/lib/src/tree_ir/optimization/logical_rewriter.dart
+++ b/pkg/compiler/lib/src/tree_ir/optimization/logical_rewriter.dart
@@ -376,6 +376,10 @@ class LogicalRewriter extends RecursiveTransformer
case BuiltinOperator.IsNotNumber: return BuiltinOperator.IsNumber;
case BuiltinOperator.IsInteger: return BuiltinOperator.IsNotInteger;
case BuiltinOperator.IsNotInteger: return BuiltinOperator.IsInteger;
+ case BuiltinOperator.IsUnsigned32BitInteger:
+ return BuiltinOperator.IsNotUnsigned32BitInteger;
+ case BuiltinOperator.IsNotUnsigned32BitInteger:
+ return BuiltinOperator.IsUnsigned32BitInteger;
// Because of NaN, these do not have a negated form.
case BuiltinOperator.NumLt:
« no previous file with comments | « pkg/compiler/lib/src/js_backend/codegen/codegen.dart ('k') | tests/compiler/dart2js/cps_ir/expected/optimize_indexers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698