Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 09632dd

Browse files
authoredDec 18, 2020
Merge pull request #14 from TensShinet/master
chapter2: 翻译错误
2 parents 63db371 + 434ffe2 commit 09632dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎chapter2_interfaces/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ m := Mather(Adder{id: 6754})
575575

576576
看起来编译器已经创建了必要的 `itab` 来表示我们的 `iface<Mather, Adder>` interface,并以全局符号 `go.itab."".Adder,"".Mather` 提供给我们使用。
577577

578-
我们正在执行创建 `iface<Mather, Adder>` interface 的流程中,为了能够完成工作,我们将该全局变量 `go.itab."".Adder,"".Mather` 的地址使用 LEAQ 指令从栈帧顶 load 到 AX 寄存器。
578+
我们正在执行创建 `iface<Mather, Adder>` interface 的流程中,为了能够完成工作,我们将该全局变量 `go.itab."".Adder,"".Mather` 的地址使用 LEAQ 指令从 AX 寄存器 load 到栈帧顶
579579
这段行为的原因我们也会在 part 3 中解释。
580580

581581
文法上,我们可以用下面这行伪代码来代替上面的几行代码:

0 commit comments

Comments
 (0)
Please sign in to comment.