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

Unified Diff: src/cmd/6g/peep.c

Issue 12970043: code review 12970043: cmd/gc: &x panics if x does (Closed)
Patch Set: diff -r 06602f18d127 https://code.google.com/p/go/ Created 11 years, 7 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/6g/gsubr.c ('k') | src/cmd/6g/prog.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cmd/6g/peep.c
===================================================================
--- a/src/cmd/6g/peep.c
+++ b/src/cmd/6g/peep.c
@@ -38,7 +38,6 @@
static int prevl(Flow *r, int reg);
static void pushback(Flow *r);
static int regconsttyp(Adr*);
-static int regtyp(Adr*);
static int subprop(Flow*);
static int copyprop(Graph*, Flow*);
static int copy1(Adr*, Adr*, Flow*, int);
@@ -374,7 +373,7 @@
ostats.ndelmov++;
}
-static int
+int
regtyp(Adr *a)
{
int t;
« no previous file with comments | « src/cmd/6g/gsubr.c ('k') | src/cmd/6g/prog.c » ('j') | no next file with comments »

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