diff options
Diffstat (limited to 'src/cmd/gc/range.c')
-rw-r--r-- | src/cmd/gc/range.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/gc/range.c b/src/cmd/gc/range.c index 50c4617c0..8af45b9d2 100644 --- a/src/cmd/gc/range.c +++ b/src/cmd/gc/range.c @@ -181,9 +181,9 @@ walkrange(Node *n) case TMAP: th = typ(TARRAY); th->type = ptrto(types[TUINT8]); - // see ../../pkg/runtime/hashmap.h:/hash_iter - // Size in words. - th->bound = 5 + 4*3 + 4*4/widthptr; + // see ../../pkg/runtime/hashmap.c:/hash_iter + // Size of hash_iter in # of pointers. + th->bound = 11; hit = temp(th); fn = syslook("mapiterinit", 1); |