Skip to content

Commit

Permalink
cmd/compile: add support for --buildmode=c-shared on loong64
Browse files Browse the repository at this point in the history
Updates golang#53301
Updates golang#58784

Change-Id: I78a90155b17d7d8be04e8ba5e4d75e27d15b3311
  • Loading branch information
limeidan authored and xen0n committed Mar 24, 2023
1 parent 6230e0e commit 4553589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/compile/internal/liveness/plive.go
Expand Up @@ -545,7 +545,7 @@ func (lv *liveness) markUnsafePoints() {
v = v.Args[0]
continue
}
case ssa.Op386MOVLload, ssa.OpARM64MOVWUload, ssa.OpPPC64MOVWZload, ssa.OpWasmI64Load32U:
case ssa.Op386MOVLload, ssa.OpARM64MOVWUload, ssa.OpLOONG64MOVWUload, ssa.OpPPC64MOVWZload, ssa.OpWasmI64Load32U:
// Args[0] is the address of the write
// barrier control. Ignore Args[1],
// which is the mem operand.
Expand Down

0 comments on commit 4553589

Please sign in to comment.