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

Unified Diff: tests/compiler/dart2js/type_inference4_test.dart

Issue 10831392: If an instruction is known to already by a number, the integer check will try to make it an integer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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/type_inference2_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/type_inference4_test.dart
===================================================================
--- tests/compiler/dart2js/type_inference4_test.dart (revision 10938)
+++ tests/compiler/dart2js/type_inference4_test.dart (working copy)
@@ -22,6 +22,6 @@
Expect.isFalse(generated.contains('iae'));
// Also make sure that we are not just in bailout mode without speculative
// types by grepping for the integer-bailout check on argument j.
- RegExp regexp = new RegExp(getIntTypeCheck('j0'));
+ RegExp regexp = new RegExp(getIntTypeCheck('j'));
Expect.isTrue(regexp.hasMatch(generated));
}
« no previous file with comments | « tests/compiler/dart2js/type_inference2_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698