summaryrefslogtreecommitdiff
path: root/libgo/runtime/go-defer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/runtime/go-defer.h')
-rw-r--r--libgo/runtime/go-defer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgo/runtime/go-defer.h b/libgo/runtime/go-defer.h
index 0b20e8f6e78..d110a8766e3 100644
--- a/libgo/runtime/go-defer.h
+++ b/libgo/runtime/go-defer.h
@@ -34,4 +34,14 @@ struct __go_defer_stack
set by __go_set_defer_retaddr which is called by the thunks
created by defer statements. */
const void *__retaddr;
+
+ /* Set to true if a function created by reflect.MakeFunc is
+ permitted to recover. The return address of such a function
+ function will be somewhere in libffi, so __retaddr is not
+ useful. */
+ _Bool __makefunc_can_recover;
+
+ /* Set to true if this defer stack entry should be freed when
+ done. */
+ _Bool __free;
};