# 8.3 代码结构

对 Go 而言，编译器主函数在清除了无效代码之后，便会进行 Inline 操作，入口代码如下：

```go
// file: cmd/compile/internal/gc/main.go

func Main() {
    // 忽略之前代码

    // 内联操作
    if base.Flag.LowerL != 0 {
        inline.InlinePackage()
    }

    // 忽略之后代码
}
```

如果不想要内联操作，可以通过编译参数 `-l` 来禁止。Inline 的所有代码都在文件 `cmd/compile/internal/inline/inl.go` 中。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gocompiler.shizhz.me/8.-golang-bian-yi-qi-inline/8.3-dai-ma-jie-gou.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
