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_X87_LITHIUM_X87_H_ | 5 #ifndef V8_X87_LITHIUM_X87_H_ |
6 #define V8_X87_LITHIUM_X87_H_ | 6 #define V8_X87_LITHIUM_X87_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 2686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2697 current_instruction_(NULL), | 2697 current_instruction_(NULL), |
2698 current_block_(NULL), | 2698 current_block_(NULL), |
2699 next_block_(NULL), | 2699 next_block_(NULL), |
2700 allocator_(allocator) { } | 2700 allocator_(allocator) { } |
2701 | 2701 |
2702 Isolate* isolate() const { return graph_->isolate(); } | 2702 Isolate* isolate() const { return graph_->isolate(); } |
2703 | 2703 |
2704 // Build the sequence for the graph. | 2704 // Build the sequence for the graph. |
2705 LPlatformChunk* Build(); | 2705 LPlatformChunk* Build(); |
2706 | 2706 |
2707 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | |
2708 | |
2709 // Declare methods that deal with the individual node types. | 2707 // Declare methods that deal with the individual node types. |
2710 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2708 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2711 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2709 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2712 #undef DECLARE_DO | 2710 #undef DECLARE_DO |
2713 | 2711 |
2714 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2712 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
2715 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2713 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
2716 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2714 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
2717 LInstruction* DoMathLog(HUnaryMathOperation* instr); | 2715 LInstruction* DoMathLog(HUnaryMathOperation* instr); |
2718 LInstruction* DoMathExp(HUnaryMathOperation* instr); | 2716 LInstruction* DoMathExp(HUnaryMathOperation* instr); |
(...skipping 131 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_X87_LITHIUM_X87_H_ | 2857 #endif // V8_X87_LITHIUM_X87_H_ |
OLD | NEW |