summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2012-03-07 20:18:49 -0800
committer Ian Rogers <irogers@google.com> 2012-03-07 20:18:49 -0800
commit680b1bdd7e5d112ba4b95d6c81a43b65119b3b9c (patch)
tree21514b638db9b28cf26b4b452c3e5f9449568812 /src/compiler/codegen/CompilerCodegen.h
parentd8af8bd46c13347ca15558999db4da85dbc31818 (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
Diffstat (limited to 'src/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions