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

Delta Between Two Patch Sets: src/cmd/dist/buildgc.c

Issue 5608059: code review 5608059: build: dist-based build for Plan 9 (Closed)
Left Patch Set: diff -r 9aa92af003c3 https://code.google.com/p/go/ Created 13 years, 2 months ago
Right Patch Set: diff -r cb5c48bccd5a https://code.google.com/p/go/ Created 12 years, 11 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/dist/build.c ('k') | src/cmd/dist/buildruntime.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2012 The Go Authors. All rights reserved. 1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 #include "a.h" 5 #include "a.h"
6 #include <stdio.h>
7 6
8 /* 7 /*
9 * Helpers for building cmd/gc. 8 * Helpers for building cmd/gc.
10 */ 9 */
11 10
12 // gcopnames creates opnames.h from go.h. 11 // gcopnames creates opnames.h from go.h.
13 // It finds the OXXX enum, pulls out all the constants 12 // It finds the OXXX enum, pulls out all the constants
14 // from OXXX to OEND, and writes a table mapping 13 // from OXXX to OEND, and writes a table mapping
15 // op to string. 14 // op to string.
16 void 15 void
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 } 96 }
98 } 97 }
99 bwritestr(&out, "};\n"); 98 bwritestr(&out, "};\n");
100 writefile(&out, file, 0); 99 writefile(&out, file, 0);
101 100
102 bfree(&b); 101 bfree(&b);
103 bfree(&in); 102 bfree(&in);
104 bfree(&out); 103 bfree(&out);
105 vfree(&lines); 104 vfree(&lines);
106 } 105 }
LEFTRIGHT

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