Skip to content

Commit

Permalink
Merge pull request golang#8 from 4ad/104-little-tweak
Browse files Browse the repository at this point in the history
liblink/asm7.c: add a little bit of helpful text to aide the reader of Optab
  • Loading branch information
davecheney committed Dec 15, 2014
2 parents 416e2f5 + a70d1d8 commit 9abdade
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/liblink/asm7.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ enum
};

static Optab optab[] = {
/* struct Optab:
OPCODE, from, prog->reg, to, type,size,param,flag */
{ ATEXT, C_LEXT, C_NONE, C_LCON, 0, 0, 0 },
{ ATEXT, C_LEXT, C_REG, C_LCON, 0, 0, 0 },
{ ATEXT, C_ADDR, C_NONE, C_LCON, 0, 0, 0 },
Expand Down

0 comments on commit 9abdade

Please sign in to comment.