From: Russ Cox Date: Fri, 15 May 2015 20:11:25 +0000 (-0400) Subject: cmd/internal/gc: refine ginscmp comment X-Git-Tag: go1.5beta1~554 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6e8bcbbe8987d9b06ef2c349913cde11e6dd8339;p=gostls13.git cmd/internal/gc: refine ginscmp comment Change-Id: I2ebb36c6c5de9d34e52ed523e9c888452591924a Reviewed-on: https://go-review.googlesource.com/10152 Reviewed-by: Minux Ma --- diff --git a/src/cmd/internal/gc/go.go b/src/cmd/internal/gc/go.go index 31692bdf00..5fa85e25a7 100644 --- a/src/cmd/internal/gc/go.go +++ b/src/cmd/internal/gc/go.go @@ -786,8 +786,9 @@ type Arch struct { // // Ginscmp must be able to handle all kinds of arguments for n1 and n2, // not just simple registers, although it can assume that there are no - // function calls needed during the evaluation, so no in-memory temporaries - // are necessary. + // function calls needed during the evaluation, and on 32-bit systems + // the values are guaranteed not to be 64-bit values, so no in-memory + // temporaries are necessary. Ginscmp func(op int, t *Type, n1, n2 *Node, likely int) *obj.Prog // Ginsboolval inserts instructions to convert the result