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

Unified Diff: tests/compiler/dart2js/sourcemaps/source_mapping_operators_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/sourcemaps/source_mapping_invokes_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/sourcemaps/source_mapping_operators_test.dart
diff --git a/tests/compiler/dart2js/sourcemaps/source_mapping_operators_test.dart b/tests/compiler/dart2js/sourcemaps/source_mapping_operators_test.dart
index 3aaacce74aac52850f097c581097d9affd00fd66..34a826c60cf889b2567d8d9103526f1849d68c1b 100644
--- a/tests/compiler/dart2js/sourcemaps/source_mapping_operators_test.dart
+++ b/tests/compiler/dart2js/sourcemaps/source_mapping_operators_test.dart
@@ -4,7 +4,6 @@
import 'source_mapping_tester.dart';
import 'sourcemap_helper.dart';
-import 'package:compiler/src/io/position_information.dart';
void main() {
test(['operators'], whiteListFunction: (String config, String file) {
@@ -13,20 +12,6 @@ void main() {
return codePoint.jsCode.contains(r'.$gt()'); // # Issue 25304
}
- if (config == 'cps') {
- return (CodePoint codePoint) {
- // Temporarily allow missing code points on expression statements.
- if (codePoint.kind == StepKind.EXPRESSION_STATEMENT ||
- codePoint.kind == StepKind.IF_CONDITION) {
- return true;
- }
- if (codePoint.jsCode.contains(r'H.iae(')) {
- // Allow missing code points for bailout calls.
- return true;
- }
- return allowGtOptimization(codePoint);
- };
- }
return allowGtOptimization;
});
}
« no previous file with comments | « tests/compiler/dart2js/sourcemaps/source_mapping_invokes_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698