diff options
| author | 2014-04-08 07:53:48 +0000 | |
|---|---|---|
| committer | 2014-04-08 07:53:48 +0000 | |
| commit | 2be6fc74bce10ac68d3d1b39a5019f520ad170ea (patch) | |
| tree | 0eb1d625f23c66c2c4ab5dd816ad95a8221b95b5 /compiler/optimizing/nodes.h | |
| parent | 1512ea155cbe0a4b33776b0320c1ce38583ab09b (diff) | |
| parent | b55f835d66a61e5da6fc1895ba5a0482868c9552 (diff) | |
Merge "Test control flow instruction with optimizing compiler."
Diffstat (limited to 'compiler/optimizing/nodes.h')
| -rw-r--r-- | compiler/optimizing/nodes.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index d1f672f4b0..adea0baa2d 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -227,6 +227,7 @@ class HBasicBlock : public ArenaObject { M(LoadLocal) \ M(Local) \ M(NewInstance) \ + M(Not) \ M(ParameterValue) \ M(PushArgument) \ M(Return) \ @@ -740,6 +741,18 @@ class HParameterValue : public HTemplateInstruction<0> { DISALLOW_COPY_AND_ASSIGN(HParameterValue); }; +class HNot : public HTemplateInstruction<1> { + public: + explicit HNot(HInstruction* input) { + SetRawInputAt(0, input); + } + + DECLARE_INSTRUCTION(Not); + + private: + DISALLOW_COPY_AND_ASSIGN(HNot); +}; + class HGraphVisitor : public ValueObject { public: explicit HGraphVisitor(HGraph* graph) : graph_(graph) { } |