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

Unified Diff: lib/src/codegen/side_effect_analysis.dart

Issue 1778623002: DDC: remove dumpInfo flag (Closed) Base URL: git@github.com:dart-lang/dev_compiler.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 | « lib/src/codegen/js_metalet.dart ('k') | lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/side_effect_analysis.dart
diff --git a/lib/src/codegen/side_effect_analysis.dart b/lib/src/codegen/side_effect_analysis.dart
index 9b58c653d2324dce72a1f1f2eafcecbcdd1ebd2e..92b4ac8f280f73fb89851a3e3b619ffd5a4b9013 100644
--- a/lib/src/codegen/side_effect_analysis.dart
+++ b/lib/src/codegen/side_effect_analysis.dart
@@ -51,7 +51,8 @@ bool isStateless(FunctionBody function, Expression node, [AstNode context]) {
/// Returns true if the local variable is potentially mutated within [context].
/// This accounts for closures that may have been created outside of [context].
-bool _isPotentiallyMutated(FunctionBody function, VariableElement e, [AstNode context]) {
+bool _isPotentiallyMutated(FunctionBody function, VariableElement e,
+ [AstNode context]) {
if (function.isPotentiallyMutatedInClosure(e)) return true;
if (function.isPotentiallyMutatedInScope(e)) {
// Need to visit the context looking for assignment to this local.
« no previous file with comments | « lib/src/codegen/js_metalet.dart ('k') | lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698