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

Unified Diff: src/pkg/runtime/malloc.h

Issue 138740043: code review 138740043: cmd/cc, runtime: preserve C runtime type names in gener... (Closed)
Patch Set: diff -r 14ab6d0208b61ae3aa52a24c89905571e8973d4e https://code.google.com/p/go/ Created 10 years, 6 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/pkg/runtime/iface.go ('k') | src/pkg/runtime/malloc.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/malloc.h
===================================================================
--- a/src/pkg/runtime/malloc.h
+++ b/src/pkg/runtime/malloc.h
@@ -93,7 +93,7 @@
PageSize = 1<<PageShift,
PageMask = PageSize - 1,
};
-typedef uintptr PageID; // address >> PageShift
+typedef uintptr pageID; // address >> PageShift
enum
{
@@ -403,7 +403,7 @@
{
MSpan *next; // in a span linked list
MSpan *prev; // in a span linked list
- PageID start; // starting page number
+ pageID start; // starting page number
uintptr npages; // number of pages in span
MLink *freelist; // list of free objects
// sweep generation:
@@ -425,7 +425,7 @@
Special *specials; // linked list of special records sorted by offset.
};
-void runtime·MSpan_Init(MSpan *span, PageID start, uintptr npages);
+void runtime·MSpan_Init(MSpan *span, pageID start, uintptr npages);
void runtime·MSpan_EnsureSwept(MSpan *span);
bool runtime·MSpan_Sweep(MSpan *span, bool preserve);
« no previous file with comments | « src/pkg/runtime/iface.go ('k') | src/pkg/runtime/malloc.go » ('j') | no next file with comments »

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