> For the complete documentation index, see [llms.txt](https://gocompiler.shizhz.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gocompiler.shizhz.me/8.-golang-bian-yi-qi-inline/8.4-chu-li-luo-ji.md).

# 8.4 处理逻辑

编译器对函数进行内联优化时会涉及到三个方面：&#x20;

1. 如何遍历函数的调用链&#x20;
2. 如何判定一个函数是否可以内联&#x20;
3. 如何完成内联

接下来我们详细介绍内联的实现策略。
