We added the logical stmt depth limit back in January I think, and the logical stmt cache is not currently in use.   This patch removes that code so it doesn't have too be maintained thru these changes. Bootstraps on x86_64-pc-linux-gnu with no regressions.  Pushed. Andrew