]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/gc: refine ginscmp comment
authorRuss Cox <rsc@golang.org>
Fri, 15 May 2015 20:11:25 +0000 (16:11 -0400)
committerRuss Cox <rsc@golang.org>
Sat, 16 May 2015 00:51:52 +0000 (00:51 +0000)
Change-Id: I2ebb36c6c5de9d34e52ed523e9c888452591924a
Reviewed-on: https://go-review.googlesource.com/10152
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/internal/gc/go.go

index 31692bdf00ce3a6d964c337d557568c241339965..5fa85e25a72099861f9e6cd09525af5f859bca70 100644 (file)
@@ -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