Skip to content

Commit

Permalink
liblink: add C_REG form to ABL
Browse files Browse the repository at this point in the history
Already present for RET.

Fixes golang#24

Change-Id: Ie87fe3826bc812af1fc910b781d64a8bd7c66268
  • Loading branch information
4ad committed Jan 7, 2015
1 parent c27431f commit b7f84d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/liblink/asm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ static Optab optab[] = {
{ ABL, C_NONE, C_NONE, C_SBRA, 5, 4, 0 },

{ AB, C_NONE, C_NONE, C_ZOREG, 6, 4, 0 },
{ ABL, C_NONE, C_NONE, C_REG, 6, 4, 0 },
{ ABL, C_NONE, C_NONE, C_ZOREG, 6, 4, 0 },
{ ARET, C_NONE, C_NONE, C_REG, 6, 4, 0 },
{ ARET, C_NONE, C_NONE, C_ZOREG, 6, 4, 0 },
Expand Down

0 comments on commit b7f84d6

Please sign in to comment.