Lock map:translatedassert.cachedFuncRet
Extract ast-related funcs in rewriter.go to astutils.go
Enhance error message