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 2682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2693 current_instruction_(NULL), | 2693 current_instruction_(NULL), |
2694 current_block_(NULL), | 2694 current_block_(NULL), |
2695 next_block_(NULL), | 2695 next_block_(NULL), |
2696 allocator_(allocator) { } | 2696 allocator_(allocator) { } |
2697 | 2697 |
2698 Isolate* isolate() const { return graph_->isolate(); } | 2698 Isolate* isolate() const { return graph_->isolate(); } |
2699 | 2699 |
2700 // Build the sequence for the graph. | 2700 // Build the sequence for the graph. |
2701 LPlatformChunk* Build(); | 2701 LPlatformChunk* Build(); |
2702 | 2702 |
2703 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | |
2704 | |
2705 // Declare methods that deal with the individual node types. | 2703 // Declare methods that deal with the individual node types. |
2706 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2704 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2707 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2705 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2708 #undef DECLARE_DO | 2706 #undef DECLARE_DO |
2709 | 2707 |
2710 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2708 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
2711 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2709 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
2712 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2710 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
2713 LInstruction* DoMathLog(HUnaryMathOperation* instr); | 2711 LInstruction* DoMathLog(HUnaryMathOperation* instr); |
2714 LInstruction* DoMathExp(HUnaryMathOperation* instr); | 2712 LInstruction* DoMathExp(HUnaryMathOperation* instr); |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2850 | 2848 |
2851 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2849 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2852 }; | 2850 }; |
2853 | 2851 |
2854 #undef DECLARE_HYDROGEN_ACCESSOR | 2852 #undef DECLARE_HYDROGEN_ACCESSOR |
2855 #undef DECLARE_CONCRETE_INSTRUCTION | 2853 #undef DECLARE_CONCRETE_INSTRUCTION |
2856 | 2854 |
2857 } } // namespace v8::internal | 2855 } } // namespace v8::internal |
2858 | 2856 |
2859 #endif // V8_IA32_LITHIUM_IA32_H_ | 2857 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |