aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--prog/hints.go2
1 files changed, 2 insertions, 0 deletions
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
}
}