提交 c0085c32 编写于 作者: 3 3dgen

zz

上级 9f848656
......@@ -924,7 +924,7 @@ func (m *Module) EmitPrintInterface(v Value) (insts []wat.Inst) {
insts = append(insts, wat.NewInstConst(wat.I32{}, "123")) // {
insts = append(insts, wat.NewInstCall("$runtime.waPrintRune"))
insts = append(insts, i.Extract("d").EmitPush()...)
insts = append(insts, i.Extract("d").(*aRef).Extract("d").EmitPush()...)
insts = append(insts, wat.NewInstCall("$runtime.waPrintI32")) // data
insts = append(insts, wat.NewInstConst(wat.I32{}, "44")) // ,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册