diff options
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r-- | src/pkg/runtime/runtime.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 7007957b6..b3d1a9422 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -656,15 +656,12 @@ struct Defer struct Panic { Eface arg; // argument to panic - uintptr stackbase; // g->stackbase in panic Panic* link; // link to earlier panic Defer* defer; // current executing defer bool recovered; // whether this panic is over bool aborted; // the panic was aborted }; -typedef struct XXX XXX; - /* * stack traces */ @@ -1020,7 +1017,7 @@ void runtime·printcomplex(Complex128); */ void runtime·newstackcall(FuncVal*, byte*, uint32); void reflect·call(FuncVal*, byte*, uint32, uint32); -void runtime·panic(Eface); +void runtime·gopanic(Eface); void runtime·panicindex(void); void runtime·panicslice(void); void runtime·panicdivide(void); |