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

Side by Side Diff: tests/compiler/dart2js/sourcemaps/source_mapping_invokes_test.dart

Issue 1779153002: Make source information on conditions mandatory in CPS (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 'source_mapping_tester.dart'; 5 import 'source_mapping_tester.dart';
6 import 'sourcemap_helper.dart';
7 import 'package:compiler/src/io/position_information.dart';
8 6
9 void main() { 7 void main() {
10 test(['invokes'], whiteListFunction: (String config, String file) { 8 test(['invokes']);
11 if (config == 'cps') {
12 return (CodePoint codePoint) {
13 // Temporarily allow missing code points on expression statements.
14 return codePoint.kind == StepKind.EXPRESSION_STATEMENT;
15 };
16 }
17 return emptyWhiteList;
18 });
19 } 9 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/tree_ir/tree_ir_nodes.dart ('k') | tests/compiler/dart2js/sourcemaps/source_mapping_operators_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698