Re: [PATCH] Make cp_fold more consistent in its output caching

2016-05-31 Thread Patrick Palka
On Tue, May 31, 2016 at 3:00 PM, Patrick Palka wrote: > Some code paths of cp_fold return early instead of falling through to > the end of the function and so in these cases we fail to cache the > return value of the function into the fold_cache. > > This patch splits cp_fold into two functions, w

[PATCH] Make cp_fold more consistent in its output caching

2016-05-31 Thread Patrick Palka
Some code paths of cp_fold return early instead of falling through to the end of the function and so in these cases we fail to cache the return value of the function into the fold_cache. This patch splits cp_fold into two functions, with the wrapper function being responsible for caching the outpu