summaryrefslogtreecommitdiff
path: root/src/cmd/8l/8.out.h
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2013-02-21 12:52:26 -0800
committerCarl Shapiro <cshapiro@google.com>2013-02-21 12:52:26 -0800
commitf07a10a607ade8a6f2d05428f276ed93a895a6aa (patch)
tree9ad8157f72fa138d76a67e8658eed9af9cc6d801 /src/cmd/8l/8.out.h
parent480f47d1626f154493084d2d505d31e5b822402f (diff)
downloadgo-f07a10a607ade8a6f2d05428f276ed93a895a6aa.tar.gz
cmd/5g, cmd/5l, cmd/6l, cmd/8l, cmd/gc, cmd/ld, runtime: accurate args and locals information
Previously, the func structure contained an inaccurate value for the args member and a 0 value for the locals member. This change populates the func structure with args and locals values computed by the compiler. The number of args was already available in the ATEXT instruction. The number of locals is now passed through in the new ALOCALS instruction. This change also switches the unit of args and locals to be bytes, just like the frame member, instead of 32-bit words. R=golang-dev, bradfitz, cshapiro, dave, rsc CC=golang-dev https://codereview.appspot.com/7399045
Diffstat (limited to 'src/cmd/8l/8.out.h')
-rw-r--r--src/cmd/8l/8.out.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/8l/8.out.h b/src/cmd/8l/8.out.h
index 6a2d46c62..ae1397dd8 100644
--- a/src/cmd/8l/8.out.h
+++ b/src/cmd/8l/8.out.h
@@ -568,6 +568,7 @@ enum as
AXORPS,
AUSEFIELD,
+ ALOCALS,
ALAST
};