aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/stack.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-05-12 12:49:34 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-05-12 12:49:34 +0000
commit06ace75d4bcebf8bcc021dfe918b9866fba3108c (patch)
tree08382cff0b3974233757b76703128dac8c0077ae /libgo/runtime/stack.c
parent7af1c0ad98613e1a8684b075ac2a6e4739b07b07 (diff)
downloadgcc-06ace75d4bcebf8bcc021dfe918b9866fba3108c.zip
gcc-06ace75d4bcebf8bcc021dfe918b9866fba3108c.tar.gz
gcc-06ace75d4bcebf8bcc021dfe918b9866fba3108c.tar.bz2
runtime: fix build for non-split-stack systems
Change memory allocation accounting for stacks to use stacks_sys, since that seems to be what it is for. Reviewed-on: https://go-review.googlesource.com/43297 From-SVN: r247967
Diffstat (limited to 'libgo/runtime/stack.c')
-rw-r--r--libgo/runtime/stack.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libgo/runtime/stack.c b/libgo/runtime/stack.c
index 98f98fe..1ce30db 100644
--- a/libgo/runtime/stack.c
+++ b/libgo/runtime/stack.c
@@ -80,7 +80,6 @@ static void doscanstack1(G *gp, void *gcw) {
scanstackblock(sp, (uintptr)(spsize), gcw);
}
#else
- M *mp;
byte* bottom;
byte* top;