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

Unified Diff: tests/compiler/dart2js/inference/data/locals.dart

Issue 3008133002: Handle local invoke in inferrer (Closed)
Patch Set: Updated cf. comment Created 3 years, 3 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/equivalence/id_equivalence_helper.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/inference/data/locals.dart
diff --git a/tests/compiler/dart2js/inference/data/locals.dart b/tests/compiler/dart2js/inference/data/locals.dart
index eefa25bc290d58285c4b98390bf65bfb9cb30877..4ef0128215a426c77b066e227100216594ccb115 100644
--- a/tests/compiler/dart2js/inference/data/locals.dart
+++ b/tests/compiler/dart2js/inference/data/locals.dart
@@ -7,6 +7,8 @@ main() {
uninitializedLocal();
initializedLocal();
updatedLocal();
+ invokeLocal();
+ postfixLocal();
}
/*element: uninitializedLocal:[null]*/
@@ -27,3 +29,18 @@ updatedLocal() {
local2 = 0;
return local2;
}
+
+/*element: invokeLocal:[null]*/
+invokeLocal() {
+ var local2 = 0;
+ local2. /*invoke: [exact=JSUInt31]*/ toString();
+ return null;
+}
+
+/*element: postfixLocal:[null]*/
+postfixLocal() {
+ // ignore: UNUSED_LOCAL_VARIABLE
+ var local2 = 0;
+ local2 /*invoke: [exact=JSUInt31]*/ ++;
+ return null;
+}
« no previous file with comments | « tests/compiler/dart2js/equivalence/id_equivalence_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698