Skip to content

Commit

Permalink
cmd/asm: parse third instruction slot
Browse files Browse the repository at this point in the history
Fix up after the recent merge from master.
With this change, all.bash passes.

Change-Id: Ifb7b14c75afd68d4b37efb7e5a2593a491344e23
  • Loading branch information
josharian committed Jun 17, 2016
1 parent d5723c8 commit a92c75f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/asm/internal/asm/asm.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ func (p *Parser) asmInstruction(op obj.As, cond string, a []obj.Addr) {
case sys.RISCV:
prog.From = a[0]
prog.From3 = newAddr(a[1])
prog.To = a[2]
case sys.S390X:
if arch.IsS390xWithLength(op) || arch.IsS390xWithIndex(op) {
prog.From = a[1]
Expand Down

0 comments on commit a92c75f

Please sign in to comment.