diff options
author | 2014-06-24 16:08:12 +0000 | |
---|---|---|
committer | 2014-06-23 21:45:06 +0000 | |
commit | 1528b02c4d5241e785bb680f13de70c355e67429 (patch) | |
tree | 79eefb2dd1ae2cade357ef5d8367973bd08b0a34 /compiler/optimizing/builder.h | |
parent | a76724f4bc4a8d36c6c99243835b8e3ddf1eb2d7 (diff) | |
parent | 20dfc797dc631bf8d655dcf123f46f13332d3074 (diff) |
Merge "Add some more instruction support to optimizing compiler."
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r-- | compiler/optimizing/builder.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index 108514a632..0852a26c55 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -22,17 +22,11 @@ #include "primitive.h" #include "utils/allocation.h" #include "utils/growable_array.h" +#include "nodes.h" namespace art { -class ArenaAllocator; class Instruction; -class HBasicBlock; -class HGraph; -class HIntConstant; -class HLongConstant; -class HInstruction; -class HLocal; class HGraphBuilder : public ValueObject { public: @@ -90,7 +84,11 @@ class HGraphBuilder : public ValueObject { template<typename T> void Binop_22s(const Instruction& instruction, bool reverse); - template<typename T> void If_22t(const Instruction& instruction, int32_t dex_offset, bool is_not); + template<typename T> + void If_22t(const Instruction& instruction, int32_t dex_offset); + + template<typename T> + void If_21t(const Instruction& instruction, int32_t dex_offset); void BuildReturn(const Instruction& instruction, Primitive::Type type); |