diff options
Diffstat (limited to 'src/runtime/os_js.go')
-rw-r--r-- | src/runtime/os_js.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/os_js.go b/src/runtime/os_js.go index 34cc0271f0..7fbeb5a832 100644 --- a/src/runtime/os_js.go +++ b/src/runtime/os_js.go @@ -50,7 +50,7 @@ const _SIGSEGV = 0xb func sigpanic() { g := getg() - if !canpanic(g) { + if !canpanic() { throw("unexpected signal during runtime execution") } |