Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AuxUnsigned (0.49 sec)

  1. src/cmd/compile/internal/ssa/value.go

    		v.Fatalf("op %s doesn't have an int32 aux field", v.Op)
    	}
    	return int32(v.AuxInt)
    }
    
    // AuxUnsigned returns v.AuxInt as an unsigned value for OpConst*.
    // v.AuxInt is always sign-extended to 64 bits, even if the
    // represented value is unsigned. This undoes that sign extension.
    func (v *Value) AuxUnsigned() uint64 {
    	c := v.AuxInt
    	switch v.Op {
    	case OpConst64:
    		return uint64(c)
    	case OpConst32:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top