aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encoding_test.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-03-22 10:47:05 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-03-24 08:43:00 +0100
commit8cf47975a6532c9cb87e7c5dbfd462f5299a078b (patch)
treecbd36a7fe2689279e579d50d18a991aeae29ddb1 /prog/encoding_test.go
parent2a504af1a3f752882c9027d64f2260424e91f1d6 (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 'prog/encoding_test.go')
0 files changed, 0 insertions, 0 deletions