mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Merge branch 'master' into dev.regabi
Change-Id: I098acdbc5e2676aeb8700d935e796a9c29d04b88
This commit is contained in:
commit
267975dc47
399 changed files with 3512 additions and 2229 deletions
|
|
@ -232,6 +232,12 @@ func ssaGenValueOnStack(s *gc.SSAGenState, v *ssa.Value, extend bool) {
|
|||
}
|
||||
|
||||
case ssa.OpWasmLoweredAddr:
|
||||
if v.Aux == nil { // address of off(SP), no symbol
|
||||
getValue64(s, v.Args[0])
|
||||
i64Const(s, v.AuxInt)
|
||||
s.Prog(wasm.AI64Add)
|
||||
break
|
||||
}
|
||||
p := s.Prog(wasm.AGet)
|
||||
p.From.Type = obj.TYPE_ADDR
|
||||
switch v.Aux.(type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue