diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-03-22 10:47:05 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-03-24 08:43:00 +0100 |
| commit | 8cf47975a6532c9cb87e7c5dbfd462f5299a078b (patch) | |
| tree | cbd36a7fe2689279e579d50d18a991aeae29ddb1 /sys/linux/init_test.go | |
| parent | 2a504af1a3f752882c9027d64f2260424e91f1d6 (diff) | |
pkg/compiler: truncate const values to their physical size
We do similar truncation for values in the prog package (truncateToBitSize).
Truncating them in the generated descriptions makes it possible
to directly compare values (otherwise -1 and truncated -1 don't match).
Diffstat (limited to 'sys/linux/init_test.go')
0 files changed, 0 insertions, 0 deletions
