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

Unified Diff: tests/language/truncdiv_test.dart

Issue 1759973002: Add --no-background-compilation to tests that expect to run code in optimized form (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: more 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
« no previous file with comments | « tests/language/sync_generator1_test.dart ('k') | tests/language/try_catch2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/truncdiv_test.dart
diff --git a/tests/language/truncdiv_test.dart b/tests/language/truncdiv_test.dart
index 8a00c73c27ae4e8bfb50373e0d3c90ba91cec487..5bbcf10f6d47177d73a55b2882f90665a89510c6 100644
--- a/tests/language/truncdiv_test.dart
+++ b/tests/language/truncdiv_test.dart
@@ -2,7 +2,7 @@
// 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.
// Dart test optimization of modulo operator on Smi.
-// VMOptions=--optimization-counter-threshold=10 --no-use-osr
+// VMOptions=--optimization-counter-threshold=10 --no-use-osr --no-background-compilation
import "package:expect/expect.dart";
@@ -24,7 +24,7 @@ main() {
foo(i, x) => i % x;
foo2(i) {
- // Make sure x has a range computed.
+ // Make sure x has a range computed.
var x = 0;
if (i < 0) {
x = -i;
« no previous file with comments | « tests/language/sync_generator1_test.dart ('k') | tests/language/try_catch2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698