Reviewed-by: jjg
Avoiding side-effects in Analyzer's speculative attribution. Reviewed-by: mcimadamore, vromero