diff options
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index d7e74f8262..3da9ed9461 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -230,7 +230,6 @@ class HBasicBlock : public ArenaObject { M(NewInstance) \ M(Not) \ M(ParameterValue) \ - M(PushArgument) \ M(Return) \ M(ReturnVoid) \ M(StoreLocal) \ @@ -717,24 +716,6 @@ class HNewInstance : public HTemplateInstruction<0> { DISALLOW_COPY_AND_ASSIGN(HNewInstance); }; -// HPushArgument nodes are inserted after the evaluation of an argument -// of a call. Their mere purpose is to ease the code generator's work. -class HPushArgument : public HTemplateInstruction<1> { - public: - HPushArgument(HInstruction* argument, uint8_t argument_index) : argument_index_(argument_index) { - SetRawInputAt(0, argument); - } - - uint8_t GetArgumentIndex() const { return argument_index_; } - - DECLARE_INSTRUCTION(PushArgument) - - private: - const uint8_t argument_index_; - - DISALLOW_COPY_AND_ASSIGN(HPushArgument); -}; - class HAdd : public HBinaryOperation { public: HAdd(Primitive::Type result_type, HInstruction* left, HInstruction* right) |