IsSmallIntOp tells whether the given opcode is one of the small-integer-encoding instructions.
(o byte)
| 127 | // IsSmallIntOp tells whether the given opcode is one of the |
| 128 | // small-integer-encoding instructions. |
| 129 | func IsSmallIntOp(o byte) bool { |
| 130 | return o >= MinSmallInt && o <= MaxSmallInt |
| 131 | } |
| 132 | |
| 133 | // IsSmallInt tells whether the given integer can be encoded with a |
| 134 | // small-integer-encoding instruction. |
no outgoing calls
no test coverage detected