From 5044885ca2e3e8fd8a368cb497946d994d1bb1ad Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 20 Oct 2017 12:12:21 +0200 Subject: prog: add a TODO for hints --- prog/hints.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prog/hints.go b/prog/hints.go index 2890c3e71..5a05d7f56 100644 --- a/prog/hints.go +++ b/prog/hints.go @@ -182,6 +182,8 @@ func shrinkExpand(v uint64, compMap CompMap) uint64Set { // Replace size least significant bits of v with // corresponding bits of newV. Leave the rest of v as it was. replacer := (v &^ mask) | (newV & mask) + // TODO(dvyukov): should we try replacing with arg+/-1? + // This could trigger some off-by-ones. replacers[replacer] = true } } -- cgit mrf-deployment