innerOrAlias is like inner, but returns the provided *big.Int if the receiver and the other *BigInt argument reference the same object. NOTE: this is not inlined.
(tmp *big.Int, a *BigInt, ai *big.Int)
| 146 | // and the other *BigInt argument reference the same object. |
| 147 | // NOTE: this is not inlined. |
| 148 | func (z *BigInt) innerOrAlias(tmp *big.Int, a *BigInt, ai *big.Int) *big.Int { |
| 149 | if a == z { |
| 150 | return ai |
| 151 | } |
| 152 | return z.inner(tmp) |
| 153 | } |
| 154 | |
| 155 | // innerOrNilOrAlias is like inner, but with the added semantics specified for |
| 156 | // both innerOrNil and innerOrAlias. |