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

Unified Diff: dart/lib/compiler/implementation/ssa/codegen.dart

Issue 10332070: Call 'use' instead of 'visit' on the input when generating code for an unchecked HTypeConversion. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 7 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 | « no previous file | dart/tests/language/type_guard_conversion_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/ssa/codegen.dart
===================================================================
--- dart/lib/compiler/implementation/ssa/codegen.dart (revision 7448)
+++ dart/lib/compiler/implementation/ssa/codegen.dart (working copy)
@@ -2191,7 +2191,7 @@
buffer.add(')');
endExpression(JSPrecedence.CALL_PRECEDENCE);
} else {
- visit(node.checkedInput, expectedPrecedence);
+ use(node.checkedInput, expectedPrecedence);
Lasse Reichstein Nielsen 2012/05/10 08:16:55 I think we are getting to the point where "visit"
ngeoffray 2012/05/10 08:19:38 Agree.
}
}
}
« no previous file with comments | « no previous file | dart/tests/language/type_guard_conversion_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698