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

Side by Side Diff: tests/language/vm/allocation_sinking_vm_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, 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // Test allocation sinking optimization. 4 // Test allocation sinking optimization.
5 // VMOptions=--optimization-counter-threshold=10 --no-use-osr 5 // VMOptions=--optimization-counter-threshold=10 --no-use-osr --no-background-co mpilation
6 6
7 import 'dart:typed_data'; 7 import 'dart:typed_data';
8 import 'package:expect/expect.dart'; 8 import 'package:expect/expect.dart';
9 9
10 class Point { 10 class Point {
11 var x, y; 11 var x, y;
12 12
13 Point(this.x, this.y); 13 Point(this.x, this.y);
14 14
15 operator * (other) { 15 operator * (other) {
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 Expect.equals(z0, z1); 323 Expect.equals(z0, z1);
324 Expect.equals(z0, z2); 324 Expect.equals(z0, z2);
325 325
326 testFinalField(); 326 testFinalField();
327 testVMField(); 327 testVMField();
328 testCompound1(); 328 testCompound1();
329 testCompound2(); 329 testCompound2();
330 testCompound3(); 330 testCompound3();
331 testCompound4(); 331 testCompound4();
332 } 332 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698