aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2014-12-22 11:23:43 -0800
committerJosh Bleecher Snyder <josharian@gmail.com>2014-12-22 22:25:26 +0000
commitaaa4bf3720bbf69e1ac65414448baf88b5e4cd83 (patch)
treeb4cb33d0c8e9ad96c6296724800c2f8002a0d74e /src
parentb68c0aec20776e85b8d71fc32ab788cec8979e4b (diff)
downloadgo-aaa4bf3720bbf69e1ac65414448baf88b5e4cd83.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/gc/walk.c4
1 files 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: