mirror of
https://github.com/golang/go
synced 2024-11-18 17:14:45 -07:00
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>
This commit is contained in:
parent
b68c0aec20
commit
aaa4bf3720
@ -706,7 +706,7 @@ walkexpr(Node **np, NodeList **init)
|
|||||||
walkexpr(&r->right, init);
|
walkexpr(&r->right, init);
|
||||||
t = r->left->type;
|
t = r->left->type;
|
||||||
p = nil;
|
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)) {
|
switch(simsimtype(t->down)) {
|
||||||
case TINT32:
|
case TINT32:
|
||||||
case TUINT32:
|
case TUINT32:
|
||||||
@ -1101,7 +1101,7 @@ walkexpr(Node **np, NodeList **init)
|
|||||||
|
|
||||||
t = n->left->type;
|
t = n->left->type;
|
||||||
p = nil;
|
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)) {
|
switch(simsimtype(t->down)) {
|
||||||
case TINT32:
|
case TINT32:
|
||||||
case TUINT32:
|
case TUINT32:
|
||||||
|
Loading…
Reference in New Issue
Block a user