aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/symtab.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go
index edf800f519..a046ebef39 100644
--- a/src/runtime/symtab.go
+++ b/src/runtime/symtab.go
@@ -497,8 +497,7 @@ type textsect struct {
baseaddr uintptr // relocated section address
}
-const minfunc = 16 // minimum function size
-const pcbucketsize = 256 * minfunc // size of bucket in the pc->func lookup table
+const pcbucketsize = 256 * abi.MINFUNC // size of bucket in the pc->func lookup table
// findfuncbucket is an array of these structures.
// Each bucket represents 4096 bytes of the text segment.