summaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-04-22 17:52:22 -0700
committerRuss Cox <rsc@golang.org>2010-04-22 17:52:22 -0700
commit95219382926a5c2fcb0f9a3826aeaca2090be726 (patch)
tree64a933277eecbaa74ddae0588ef93e17bc73a25b /src/pkg/runtime/malloc.h
parent302143c2ec4837224a35cbeab9b8586fa122a732 (diff)
downloadgolang-95219382926a5c2fcb0f9a3826aeaca2090be726.tar.gz
runtime: closures, defer bug fix for Native Client
Enable package tests for Native Client build. R=r CC=golang-dev http://codereview.appspot.com/957042
Diffstat (limited to 'src/pkg/runtime/malloc.h')
-rw-r--r--src/pkg/runtime/malloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/runtime/malloc.h b/src/pkg/runtime/malloc.h
index 8b733b6a4..473e8a836 100644
--- a/src/pkg/runtime/malloc.h
+++ b/src/pkg/runtime/malloc.h
@@ -324,6 +324,10 @@ struct MHeap
// range of addresses we might see in the heap
byte *min;
byte *max;
+
+ // range of addresses we might see in a Native Client closure
+ byte *closure_min;
+ byte *closure_max;
// central free lists for small size classes.
// the union makes sure that the MCentrals are