]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc: update hashmap code location in comments
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 22 Dec 2014 19:23:43 +0000 (11:23 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 22 Dec 2014 22:25:26 +0000 (22:25 +0000)
Change-Id: I3b81f2e9eb29ee6349d758b68fe7951b34f15a81
Reviewed-on: https://go-review.googlesource.com/1974
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/gc/walk.c

index 4ad1b269df918435190cf0964ba5ba66f82e35f4..60b68e9432fe30a575de1a02cf2ab096b1a8aace 100644 (file)
@@ -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: