| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_IA32_H_ |
| 6 #define V8_IA32_LITHIUM_IA32_H_ | 6 #define V8_IA32_LITHIUM_IA32_H_ |
| 7 | 7 |
| 8 #include "hydrogen.h" | 8 #include "hydrogen.h" |
| 9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
| 10 #include "lithium.h" | 10 #include "lithium.h" |
| (...skipping 2813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2824 | 2824 |
| 2825 // Marks a call for the register allocator. Assigns a pointer map to | 2825 // Marks a call for the register allocator. Assigns a pointer map to |
| 2826 // support GC and lazy deoptimization. Assigns an environment to support | 2826 // support GC and lazy deoptimization. Assigns an environment to support |
| 2827 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY. | 2827 // eager deoptimization if CAN_DEOPTIMIZE_EAGERLY. |
| 2828 LInstruction* MarkAsCall( | 2828 LInstruction* MarkAsCall( |
| 2829 LInstruction* instr, | 2829 LInstruction* instr, |
| 2830 HInstruction* hinstr, | 2830 HInstruction* hinstr, |
| 2831 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY); | 2831 CanDeoptimize can_deoptimize = CANNOT_DEOPTIMIZE_EAGERLY); |
| 2832 | 2832 |
| 2833 void VisitInstruction(HInstruction* current); | 2833 void VisitInstruction(HInstruction* current); |
| 2834 void AddInstruction(LInstruction* instr, HInstruction* current); |
| 2834 | 2835 |
| 2835 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); | 2836 void DoBasicBlock(HBasicBlock* block, HBasicBlock* next_block); |
| 2836 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); | 2837 LInstruction* DoShift(Token::Value op, HBitwiseBinaryOperation* instr); |
| 2837 LInstruction* DoArithmeticD(Token::Value op, | 2838 LInstruction* DoArithmeticD(Token::Value op, |
| 2838 HArithmeticBinaryOperation* instr); | 2839 HArithmeticBinaryOperation* instr); |
| 2839 LInstruction* DoArithmeticT(Token::Value op, | 2840 LInstruction* DoArithmeticT(Token::Value op, |
| 2840 HBinaryOperation* instr); | 2841 HBinaryOperation* instr); |
| 2841 | 2842 |
| 2842 LOperand* GetStoreKeyedValueOperand(HStoreKeyed* instr); | 2843 LOperand* GetStoreKeyedValueOperand(HStoreKeyed* instr); |
| 2843 | 2844 |
| 2844 LPlatformChunk* chunk_; | 2845 LPlatformChunk* chunk_; |
| 2845 CompilationInfo* info_; | 2846 CompilationInfo* info_; |
| 2846 HGraph* const graph_; | 2847 HGraph* const graph_; |
| 2847 Status status_; | 2848 Status status_; |
| 2848 HInstruction* current_instruction_; | 2849 HInstruction* current_instruction_; |
| 2849 HBasicBlock* current_block_; | 2850 HBasicBlock* current_block_; |
| 2850 HBasicBlock* next_block_; | 2851 HBasicBlock* next_block_; |
| 2851 LAllocator* allocator_; | 2852 LAllocator* allocator_; |
| 2852 | 2853 |
| 2853 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2854 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2854 }; | 2855 }; |
| 2855 | 2856 |
| 2856 #undef DECLARE_HYDROGEN_ACCESSOR | 2857 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2857 #undef DECLARE_CONCRETE_INSTRUCTION | 2858 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2858 | 2859 |
| 2859 } } // namespace v8::internal | 2860 } } // namespace v8::internal |
| 2860 | 2861 |
| 2861 #endif // V8_IA32_LITHIUM_IA32_H_ | 2862 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |