From: Keith Randall Date: Fri, 12 Jul 2013 19:24:57 +0000 (-0700) Subject: cmd/dist: allow assembly code to use enumerated constants. X-Git-Tag: go1.2rc2~1061 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=cfefe6a7633abc8964166720769df60e56a50583;p=gostls13.git cmd/dist: allow assembly code to use enumerated constants. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/11056044 --- diff --git a/src/cmd/dist/buildruntime.c b/src/cmd/dist/buildruntime.c index 2d221eb39c..a9c341c93a 100644 --- a/src/cmd/dist/buildruntime.c +++ b/src/cmd/dist/buildruntime.c @@ -234,10 +234,11 @@ ok: // Gobuf 24 sched; // 'Y' 48 stack0; // } + // StackMin = 128; // into output like // #define g_sched 24 // #define g_stack0 48 - // + // #define const_StackMin 128 aggr = nil; splitlines(&lines, bstr(&in)); for(i=0; i