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

Unified Diff: tests/language/vm/regress_27671_other.dart

Issue 2453263002: Produce the correct assertion failure expression in the face of inlining (Closed)
Patch Set: asiva review Created 4 years, 2 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 | « runtime/lib/errors.cc ('k') | tests/language/vm/regress_27671_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/vm/regress_27671_other.dart
diff --git a/pkg/dev_compiler/test/codegen/language/export_order_helper2.dart b/tests/language/vm/regress_27671_other.dart
similarity index 70%
copy from pkg/dev_compiler/test/codegen/language/export_order_helper2.dart
copy to tests/language/vm/regress_27671_other.dart
index 2c462a4ed59e8bb3f6f74ee3b6aace81db32b274..a180d18299574fba56fc7e1e7975f6ebd48e06e6 100644
--- a/pkg/dev_compiler/test/codegen/language/export_order_helper2.dart
+++ b/tests/language/vm/regress_27671_other.dart
@@ -2,10 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'export_order_helper1.dart';
+import 'regress_27671_test.dart';
-class Info {
- int x = y;
+@AlwaysInline
+void check(f, x) {
+ assert(f(x) && true);
}
-
-int get z => 38;
« no previous file with comments | « runtime/lib/errors.cc ('k') | tests/language/vm/regress_27671_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698