aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/lfstack.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/lfstack.go')
-rw-r--r--src/runtime/lfstack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/lfstack.go b/src/runtime/lfstack.go
index fd3325972a..5838c1d14d 100644
--- a/src/runtime/lfstack.go
+++ b/src/runtime/lfstack.go
@@ -14,7 +14,7 @@ func lfstackpush(head *uint64, node *lfnode) {
new := lfstackPack(node, node.pushcnt)
if node1, _ := lfstackUnpack(new); node1 != node {
println("runtime: lfstackpush invalid packing: node=", node, " cnt=", hex(node.pushcnt), " packed=", hex(new), " -> node=", node1, "\n")
- gothrow("lfstackpush")
+ throw("lfstackpush")
}
for {
old := atomicload64(head)