Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(808)

Unified Diff: src/cmd/gc/walk.c

Issue 4709042: code review 4709042: gc: fix closure bug (Closed)
Patch Set: diff -r fa6814569009 https://go.googlecode.com/hg/ Created 12 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/gc/closure.c ('k') | test/fixedbugs/bug346.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/gc/walk.c
===================================================================
--- a/src/cmd/gc/walk.c
+++ b/src/cmd/gc/walk.c
@@ -494,9 +494,9 @@
if(n->left->op == OCLOSURE) {
walkcallclosure(n, init);
t = n->left->type;
- } else
- walkexpr(&n->left, init);
+ }
+ walkexpr(&n->left, init);
walkexprlist(n->list, init);
ll = ascompatte(n->op, n->isddd, getinarg(t), n->list, 0, init);
« no previous file with comments | « src/cmd/gc/closure.c ('k') | test/fixedbugs/bug346.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b