commit | 680b1bdd7e5d112ba4b95d6c81a43b65119b3b9c | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Mar 07 20:18:49 2012 -0800 |
committer | Ian Rogers <irogers@google.com> | Wed Mar 07 20:18:49 2012 -0800 |
tree | 21514b638db9b28cf26b4b452c3e5f9449568812 | |
parent | d8af8bd46c13347ca15558999db4da85dbc31818 [diff] |
Unify branch flags, pretty printer for OpKind. LIR operand 0 is always an offset for a branch. This is clear in conditional branches that are binary and have the 2nd operand as the condition codes of the branch. This changes unconditional branches to be unary and therefore more intention revealing that the 1st operand will be used by the assembler to hold an offset. A << operator for OpKind allows easy pretty printing. Change-Id: I933b8e0bf43f5be3eff13f93c3fc1539ae526840