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

Unified Diff: tests/language/vm/integer_type_propagation2_test.dart

Issue 2794583002: Revert "Reland "VM: Handle null-comparisons in the flow graph type propagation"" (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « runtime/vm/symbols.h ('k') | tests/language/vm/integer_type_propagation_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/vm/integer_type_propagation2_test.dart
diff --git a/tests/language/vm/integer_type_propagation2_test.dart b/tests/language/vm/integer_type_propagation2_test.dart
deleted file mode 100644
index 05cfb348fb148db21e254ae11b77e2379a558829..0000000000000000000000000000000000000000
--- a/tests/language/vm/integer_type_propagation2_test.dart
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-// Test various optimizations and deoptimizations of optimizing compiler..
-// VMOptions=--enable-inlining-annotations --no-background-compilation --optimization-counter-threshold=1000
-
-import "package:expect/expect.dart";
-import "dart:typed_data";
-
-const noInline = "NeverInline";
-const alwaysInline = "AlwaysInline";
-
-var list = new Uint32List(1);
-
-@noInline
-testuint32(bool b) {
- var t;
- if (b) {
- t = list[0];
- }
- if (t != null) {
- return t & 0x7fffffff;
- }
- return -1;
-}
-
-main() {
- var s = 0;
- testuint32(true);
- testuint32(false);
- for (int i = 0; i < 10000; ++i) {
- testuint32(true);
- }
- Expect.equals(0, testuint32(true));
- Expect.equals(-1, testuint32(false));
-}
« no previous file with comments | « runtime/vm/symbols.h ('k') | tests/language/vm/integer_type_propagation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698