1
0
mirror of https://github.com/golang/go synced 2024-11-18 09:24:54 -07:00

cmd/internal/gc: refine ginscmp comment

Change-Id: I2ebb36c6c5de9d34e52ed523e9c888452591924a
Reviewed-on: https://go-review.googlesource.com/10152
Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
Russ Cox 2015-05-15 16:11:25 -04:00
parent d36cc02795
commit 6e8bcbbe89

View File

@ -786,8 +786,9 @@ type Arch struct {
// //
// Ginscmp must be able to handle all kinds of arguments for n1 and n2, // 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 // not just simple registers, although it can assume that there are no
// function calls needed during the evaluation, so no in-memory temporaries // function calls needed during the evaluation, and on 32-bit systems
// are necessary. // 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 Ginscmp func(op int, t *Type, n1, n2 *Node, likely int) *obj.Prog
// Ginsboolval inserts instructions to convert the result // Ginsboolval inserts instructions to convert the result