| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 2101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2112 inputs_[0] = value; | 2112 inputs_[0] = value; |
| 2113 temps_[0] = temp; | 2113 temps_[0] = temp; |
| 2114 temps_[1] = temp2; | 2114 temps_[1] = temp2; |
| 2115 } | 2115 } |
| 2116 | 2116 |
| 2117 LOperand* value() { return inputs_[0]; } | 2117 LOperand* value() { return inputs_[0]; } |
| 2118 LOperand* temp() { return temps_[0]; } | 2118 LOperand* temp() { return temps_[0]; } |
| 2119 LOperand* temp2() { return temps_[1]; } | 2119 LOperand* temp2() { return temps_[1]; } |
| 2120 | 2120 |
| 2121 DECLARE_CONCRETE_INSTRUCTION(TaggedToI, "tagged-to-i") | 2121 DECLARE_CONCRETE_INSTRUCTION(TaggedToI, "tagged-to-i") |
| 2122 DECLARE_HYDROGEN_ACCESSOR(UnaryOperation) | 2122 DECLARE_HYDROGEN_ACCESSOR(Change) |
| 2123 | 2123 |
| 2124 bool truncating() { return hydrogen()->CanTruncateToInt32(); } | 2124 bool truncating() { return hydrogen()->CanTruncateToInt32(); } |
| 2125 }; | 2125 }; |
| 2126 | 2126 |
| 2127 | 2127 |
| 2128 class LSmiTag V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 2128 class LSmiTag V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 2129 public: | 2129 public: |
| 2130 explicit LSmiTag(LOperand* value) { | 2130 explicit LSmiTag(LOperand* value) { |
| 2131 inputs_[0] = value; | 2131 inputs_[0] = value; |
| 2132 } | 2132 } |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2771 int* argument_index_accumulator, | 2771 int* argument_index_accumulator, |
| 2772 ZoneList<HValue*>* objects_to_materialize); | 2772 ZoneList<HValue*>* objects_to_materialize); |
| 2773 | 2773 |
| 2774 void VisitInstruction(HInstruction* current); | 2774 void VisitInstruction(HInstruction* current); |
| 2775 | 2775 |
| 2776 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); | 2776 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); |
| 2777 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); | 2777 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); |
| 2778 LInstruction* DoArithmeticD(Token::Value op, | 2778 LInstruction* DoArithmeticD(Token::Value op, |
| 2779 HArithmeticBinaryOperation* instr); | 2779 HArithmeticBinaryOperation* instr); |
| 2780 LInstruction* DoArithmeticT(Token::Value op, | 2780 LInstruction* DoArithmeticT(Token::Value op, |
| 2781 HArithmeticBinaryOperation* instr); | 2781 HBinaryOperation* instr); |
| 2782 | 2782 |
| 2783 LPlatformChunk* chunk_; | 2783 LPlatformChunk* chunk_; |
| 2784 CompilationInfo* info_; | 2784 CompilationInfo* info_; |
| 2785 HGraph* const graph_; | 2785 HGraph* const graph_; |
| 2786 Zone* zone_; | 2786 Zone* zone_; |
| 2787 Status status_; | 2787 Status status_; |
| 2788 HInstruction* current_instruction_; | 2788 HInstruction* current_instruction_; |
| 2789 HBasicBlock* current_block_; | 2789 HBasicBlock* current_block_; |
| 2790 HBasicBlock* next_block_; | 2790 HBasicBlock* next_block_; |
| 2791 int argument_count_; | 2791 int argument_count_; |
| 2792 LAllocator* allocator_; | 2792 LAllocator* allocator_; |
| 2793 int position_; | 2793 int position_; |
| 2794 LInstruction* instruction_pending_deoptimization_environment_; | 2794 LInstruction* instruction_pending_deoptimization_environment_; |
| 2795 BailoutId pending_deoptimization_ast_id_; | 2795 BailoutId pending_deoptimization_ast_id_; |
| 2796 | 2796 |
| 2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2797 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2798 }; | 2798 }; |
| 2799 | 2799 |
| 2800 #undef DECLARE_HYDROGEN_ACCESSOR | 2800 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2801 #undef DECLARE_CONCRETE_INSTRUCTION | 2801 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2802 | 2802 |
| 2803 } } // namespace v8::internal | 2803 } } // namespace v8::internal |
| 2804 | 2804 |
| 2805 #endif // V8_ARM_LITHIUM_ARM_H_ | 2805 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |