| 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 2669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2680 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) | 2680 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
| 2681 : chunk_(NULL), | 2681 : chunk_(NULL), |
| 2682 info_(info), | 2682 info_(info), |
| 2683 graph_(graph), | 2683 graph_(graph), |
| 2684 zone_(graph->zone()), | 2684 zone_(graph->zone()), |
| 2685 status_(UNUSED), | 2685 status_(UNUSED), |
| 2686 current_instruction_(NULL), | 2686 current_instruction_(NULL), |
| 2687 current_block_(NULL), | 2687 current_block_(NULL), |
| 2688 next_block_(NULL), | 2688 next_block_(NULL), |
| 2689 argument_count_(0), | 2689 argument_count_(0), |
| 2690 allocator_(allocator), | 2690 allocator_(allocator) { } |
| 2691 instruction_pending_deoptimization_environment_(NULL), | |
| 2692 pending_deoptimization_ast_id_(BailoutId::None()) { } | |
| 2693 | 2691 |
| 2694 // Build the sequence for the graph. | 2692 // Build the sequence for the graph. |
| 2695 LPlatformChunk* Build(); | 2693 LPlatformChunk* Build(); |
| 2696 | 2694 |
| 2697 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2695 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
| 2698 | 2696 |
| 2699 // Declare methods that deal with the individual node types. | 2697 // Declare methods that deal with the individual node types. |
| 2700 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2698 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2701 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2699 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2702 #undef DECLARE_DO | 2700 #undef DECLARE_DO |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2833 LPlatformChunk* chunk_; | 2831 LPlatformChunk* chunk_; |
| 2834 CompilationInfo* info_; | 2832 CompilationInfo* info_; |
| 2835 HGraph* const graph_; | 2833 HGraph* const graph_; |
| 2836 Zone* zone_; | 2834 Zone* zone_; |
| 2837 Status status_; | 2835 Status status_; |
| 2838 HInstruction* current_instruction_; | 2836 HInstruction* current_instruction_; |
| 2839 HBasicBlock* current_block_; | 2837 HBasicBlock* current_block_; |
| 2840 HBasicBlock* next_block_; | 2838 HBasicBlock* next_block_; |
| 2841 int argument_count_; | 2839 int argument_count_; |
| 2842 LAllocator* allocator_; | 2840 LAllocator* allocator_; |
| 2843 LInstruction* instruction_pending_deoptimization_environment_; | |
| 2844 BailoutId pending_deoptimization_ast_id_; | |
| 2845 | 2841 |
| 2846 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2842 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2847 }; | 2843 }; |
| 2848 | 2844 |
| 2849 #undef DECLARE_HYDROGEN_ACCESSOR | 2845 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2850 #undef DECLARE_CONCRETE_INSTRUCTION | 2846 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2851 | 2847 |
| 2852 } } // namespace v8::int | 2848 } } // namespace v8::int |
| 2853 | 2849 |
| 2854 #endif // V8_X64_LITHIUM_X64_H_ | 2850 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |