diff options
Diffstat (limited to 'libgo/runtime/runtime.c')
-rw-r--r-- | libgo/runtime/runtime.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libgo/runtime/runtime.c b/libgo/runtime/runtime.c index 8e6f1f505246..70331f4767e7 100644 --- a/libgo/runtime/runtime.c +++ b/libgo/runtime/runtime.c @@ -90,18 +90,6 @@ runtime_cputicks(void) #endif } -bool -runtime_showframe(String s, bool current) -{ - static int32 traceback = -1; - - if(current && runtime_m()->throwing > 0) - return 1; - if(traceback < 0) - traceback = runtime_gotraceback(nil); - return traceback > 1 || (__builtin_memchr(s.str, '.', s.len) != nil && __builtin_memcmp(s.str, "runtime.", 7) != 0); -} - // Called to initialize a new m (including the bootstrap m). // Called on the parent thread (main thread in case of bootstrap), can allocate memory. void |