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

Unified Diff: pkg/compiler/lib/src/js_backend/codegen/codegen.dart

Issue 881073004: Fix merge error: Call visitExpression instead of visit. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/codegen/codegen.dart
diff --git a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart
index cdb1e859c8ac929de6712dee1f8f7a19e1cd4b2c..51d36ecf1fca60ac5fd2685445f9b32463ce3891 100644
--- a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart
+++ b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart
@@ -144,7 +144,7 @@ class CodeGenerator extends tree_ir.Visitor<dynamic, js.Expression> {
(input.expression.value.isString ||
input.expression.value.isInt ||
input.expression.value.isBool);
- js.Expression value = visit(input);
+ js.Expression value = visitExpression(input);
if (useDirectly) {
return value;
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698