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

Unified Diff: tests/compiler/dart2js/closure/closure_test.dart

Issue 2964113004: Revert "Added for-loop variable tracking and regular closures/initializers captured variable tracki… (Closed)
Patch Set: Created 3 years, 6 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 | « pkg/compiler/lib/src/ssa/locals_handler.dart ('k') | tests/compiler/dart2js/forloop_box_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/closure/closure_test.dart
diff --git a/tests/compiler/dart2js/closure/closure_test.dart b/tests/compiler/dart2js/closure/closure_test.dart
index c04774fc3c5fb838329cced7818770d38d5983a2..68fd9ec5126a4f41ebc32e3624e439825d31a2b4 100644
--- a/tests/compiler/dart2js/closure/closure_test.dart
+++ b/tests/compiler/dart2js/closure/closure_test.dart
@@ -129,7 +129,7 @@ class ClosureIrChecker extends AbstractIrComputer {
/// Compute a string representation of the data stored for [local] in [info].
String computeLocalValue(ClosureRepresentationInfo info, Local local) {
StringBuffer sb = new StringBuffer();
- if (info.localIsUsedInTryOrSync(local)) {
+ if (info.variableIsUsedInTryOrSync(local)) {
sb.write('inTry');
}
// TODO(johnniwinther,efortuna): Add more info (captured, boxed etc.).
« no previous file with comments | « pkg/compiler/lib/src/ssa/locals_handler.dart ('k') | tests/compiler/dart2js/forloop_box_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698