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

Side by Side Diff: tests/compiler/dart2js/backend_dart/opt_constprop_test.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 4
5 import 'dart:async'; 5 import 'dart:async';
6 import '../mock_compiler.dart'; 6 import '../mock_compiler.dart';
7 import 'sexpr_unstringifier.dart'; 7 import 'sexpr_unstringifier.dart';
8 import 'package:async_helper/async_helper.dart'; 8 import 'package:async_helper/async_helper.dart';
9 import "package:expect/expect.dart"; 9 import "package:expect/expect.dart";
10 import 'package:compiler/implementation/cps_ir/cps_ir_nodes_sexpr.dart'; 10 import 'package:compiler/src/cps_ir/cps_ir_nodes_sexpr.dart';
11 import 'package:compiler/implementation/cps_ir/optimizers.dart'; 11 import 'package:compiler/src/cps_ir/optimizers.dart';
12 import 'package:compiler/implementation/dart2jslib.dart' as dart2js; 12 import 'package:compiler/src/dart2jslib.dart' as dart2js;
13 13
14 // The tests in this file that ensure that sparse constant propagation on the 14 // The tests in this file that ensure that sparse constant propagation on the
15 // CPS IR works as expected. 15 // CPS IR works as expected.
16 16
17 // CP1 represents the following incoming dart code: 17 // CP1 represents the following incoming dart code:
18 // 18 //
19 // int main() { 19 // int main() {
20 // int i = 1; 20 // int i = 1;
21 // int j; 21 // int j;
22 // if (i == 1) { 22 // if (i == 1) {
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 asyncTest(() => testConstantPropagator(CP2_IN, CP2_OUT)); 422 asyncTest(() => testConstantPropagator(CP2_IN, CP2_OUT));
423 asyncTest(() => testConstantPropagator(CP3_IN, CP3_OUT)); 423 asyncTest(() => testConstantPropagator(CP3_IN, CP3_OUT));
424 asyncTest(() => testConstantPropagator(CP4_IN, CP4_OUT)); 424 asyncTest(() => testConstantPropagator(CP4_IN, CP4_OUT));
425 asyncTest(() => testConstantPropagator(CP5_IN, CP5_OUT)); 425 asyncTest(() => testConstantPropagator(CP5_IN, CP5_OUT));
426 asyncTest(() => testConstantPropagator(CP6_IN, CP6_OUT)); 426 asyncTest(() => testConstantPropagator(CP6_IN, CP6_OUT));
427 asyncTest(() => testConstantPropagator(CP7_IN, CP7_OUT)); 427 asyncTest(() => testConstantPropagator(CP7_IN, CP7_OUT));
428 asyncTest(() => testConstantPropagator(CP8_IN, CP8_OUT)); 428 asyncTest(() => testConstantPropagator(CP8_IN, CP8_OUT));
429 asyncTest(() => testConstantPropagator(CP9_IN, CP9_OUT)); 429 asyncTest(() => testConstantPropagator(CP9_IN, CP9_OUT));
430 asyncTest(() => testConstantPropagator(CP10_IN, CP10_OUT)); 430 asyncTest(() => testConstantPropagator(CP10_IN, CP10_OUT));
431 } 431 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/backend_dart/end2end_test.dart ('k') | tests/compiler/dart2js/backend_dart/opt_redundant_phi_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698