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

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/operators2_6.js

Issue 1668913002: dart2js cps: More aggressive operator specialization. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update test expectations 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 unified diff | Download patch
OLDNEW
1 // Expectation for test: 1 // Expectation for test:
2 // // Method to test: function(foo) 2 // // Method to test: function(foo)
3 // foo(a) => a ~/ 13; 3 // import 'package:expect/expect.dart';
4 //
5 // @NoInline() foo(a) => a ~/ 13;
6 //
4 // main() { 7 // main() {
5 // print(foo(5)); 8 // print(foo(5));
6 // print(foo(-100)); 9 // print(foo(-100));
7 // } 10 // }
8 11
9 function(a) { 12 function(a) {
10 return (a | 0) === a && (13 | 0) === 13 ? a / 13 | 0 : C.JSNumber_methods.toIn t$0(a / 13); 13 return C.JSInt_methods.$tdiv(a, 13);
11 } 14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698