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_X64_LITHIUM_X64_H_ | 5 #ifndef V8_X64_LITHIUM_X64_H_ |
6 #define V8_X64_LITHIUM_X64_H_ | 6 #define V8_X64_LITHIUM_X64_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 2662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2673 current_instruction_(NULL), | 2673 current_instruction_(NULL), |
2674 current_block_(NULL), | 2674 current_block_(NULL), |
2675 next_block_(NULL), | 2675 next_block_(NULL), |
2676 allocator_(allocator) { } | 2676 allocator_(allocator) { } |
2677 | 2677 |
2678 Isolate* isolate() const { return graph_->isolate(); } | 2678 Isolate* isolate() const { return graph_->isolate(); } |
2679 | 2679 |
2680 // Build the sequence for the graph. | 2680 // Build the sequence for the graph. |
2681 LPlatformChunk* Build(); | 2681 LPlatformChunk* Build(); |
2682 | 2682 |
2683 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | |
2684 | |
2685 // Declare methods that deal with the individual node types. | 2683 // Declare methods that deal with the individual node types. |
2686 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2684 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2687 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2685 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2688 #undef DECLARE_DO | 2686 #undef DECLARE_DO |
2689 | 2687 |
2690 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2688 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
2691 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2689 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
2692 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2690 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
2693 LInstruction* DoMathLog(HUnaryMathOperation* instr); | 2691 LInstruction* DoMathLog(HUnaryMathOperation* instr); |
2694 LInstruction* DoMathExp(HUnaryMathOperation* instr); | 2692 LInstruction* DoMathExp(HUnaryMathOperation* instr); |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2826 | 2824 |
2827 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2825 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2828 }; | 2826 }; |
2829 | 2827 |
2830 #undef DECLARE_HYDROGEN_ACCESSOR | 2828 #undef DECLARE_HYDROGEN_ACCESSOR |
2831 #undef DECLARE_CONCRETE_INSTRUCTION | 2829 #undef DECLARE_CONCRETE_INSTRUCTION |
2832 | 2830 |
2833 } } // namespace v8::int | 2831 } } // namespace v8::int |
2834 | 2832 |
2835 #endif // V8_X64_LITHIUM_X64_H_ | 2833 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |