diff options
author | 2014-04-07 14:35:31 +0000 | |
---|---|---|
committer | 2014-04-07 14:35:31 +0000 | |
commit | 427ca38b0a6c6fd7dc0dbb380619e2b91b56cf1c (patch) | |
tree | 0e7c2d30af5c713012f0a33e6dd7d8f71e7fc85d /compiler/optimizing/builder.h | |
parent | 7ab4e5c5288e04b7beb6d8ddfd5e8bf878002732 (diff) | |
parent | f583e5976e1de9aa206fb8de4f91000180685066 (diff) |
Merge "Add support for taking parameters in optimizing compiler."
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r-- | compiler/optimizing/builder.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h index 46ca9aabd7..df64d712c6 100644 --- a/compiler/optimizing/builder.h +++ b/compiler/optimizing/builder.h @@ -66,11 +66,20 @@ class HGraphBuilder : public ValueObject { HIntConstant* GetConstant0(); HIntConstant* GetConstant1(); HIntConstant* GetConstant(int constant); - void InitializeLocals(int count); + void InitializeLocals(uint16_t count); HLocal* GetLocalAt(int register_index) const; void UpdateLocal(int register_index, HInstruction* instruction) const; HInstruction* LoadLocal(int register_index) const; + // Temporarily returns whether the compiler supports the parameters + // of the method. + bool InitializeParameters(uint16_t number_of_parameters); + + template<typename T> void Binop_32x(const Instruction& instruction); + template<typename T> void Binop_12x(const Instruction& instruction); + template<typename T> void Binop_22b(const Instruction& instruction, bool reverse); + template<typename T> void Binop_22s(const Instruction& instruction, bool reverse); + ArenaAllocator* const arena_; // A list of the size of the dex code holding block information for |