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

Side by Side Diff: tests/language/arithmetic_test.dart

Issue 21363003: Enables per-function far-branches for ARM and MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // Dart test program to test arithmetic operations. 4 // Dart test program to test arithmetic operations.
5 // VMOptions=--optimization-counter-threshold=10 --no-use-osr --use-far-branches 5 // VMOptions=--optimization-counter-threshold=10 --no-use-osr
6 6
7 library arithmetic_test; 7 library arithmetic_test;
8 import "package:expect/expect.dart"; 8 import "package:expect/expect.dart";
9 import 'dart:math'; 9 import 'dart:math';
10 10
11 class ArithmeticTest { 11 class ArithmeticTest {
12 12
13 static bool exceptionCaughtParseInt(String s) { 13 static bool exceptionCaughtParseInt(String s) {
14 try { 14 try {
15 int.parse(s); 15 int.parse(s);
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 testSmiDivDeopt(); 454 testSmiDivDeopt();
455 testSqrtDeopt(); 455 testSqrtDeopt();
456 testDoubleEquality(); 456 testDoubleEquality();
457 } 457 }
458 } 458 }
459 } 459 }
460 460
461 main() { 461 main() {
462 ArithmeticTest.testMain(); 462 ArithmeticTest.testMain();
463 } 463 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698