From aaa4bf3720bbf69e1ac65414448baf88b5e4cd83 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder <josharian@gmail.com> Date: Mon, 22 Dec 2014 11:23:43 -0800 Subject: [PATCH] cmd/gc: update hashmap code location in comments Change-Id: I3b81f2e9eb29ee6349d758b68fe7951b34f15a81 Reviewed-on: https://go-review.googlesource.com/1974 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> --- src/cmd/gc/walk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/gc/walk.c b/src/cmd/gc/walk.c index 4ad1b269df..60b68e9432 100644 --- a/src/cmd/gc/walk.c +++ b/src/cmd/gc/walk.c @@ -706,7 +706,7 @@ walkexpr(Node **np, NodeList **init) walkexpr(&r->right, init); t = r->left->type; p = nil; - if(t->type->width <= 128) { // Check ../../runtime/hashmap.c:MAXVALUESIZE before changing. + if(t->type->width <= 128) { // Check ../../runtime/hashmap.go:maxValueSize before changing. switch(simsimtype(t->down)) { case TINT32: case TUINT32: @@ -1101,7 +1101,7 @@ walkexpr(Node **np, NodeList **init) t = n->left->type; p = nil; - if(t->type->width <= 128) { // Check ../../runtime/hashmap.c:MAXVALUESIZE before changing. + if(t->type->width <= 128) { // Check ../../runtime/hashmap.go:maxValueSize before changing. switch(simsimtype(t->down)) { case TINT32: case TUINT32: -- 2.30.9