| 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 2648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2659 public: | 2659 public: |
| 2660 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) | 2660 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
| 2661 : LChunkBuilderBase(graph->zone()), | 2661 : LChunkBuilderBase(graph->zone()), |
| 2662 chunk_(NULL), | 2662 chunk_(NULL), |
| 2663 info_(info), | 2663 info_(info), |
| 2664 graph_(graph), | 2664 graph_(graph), |
| 2665 status_(UNUSED), | 2665 status_(UNUSED), |
| 2666 current_instruction_(NULL), | 2666 current_instruction_(NULL), |
| 2667 current_block_(NULL), | 2667 current_block_(NULL), |
| 2668 next_block_(NULL), | 2668 next_block_(NULL), |
| 2669 allocator_(allocator), | 2669 allocator_(allocator) { } |
| 2670 instruction_pending_deoptimization_environment_(NULL), | |
| 2671 pending_deoptimization_ast_id_(BailoutId::None()) { } | |
| 2672 | 2670 |
| 2673 // Build the sequence for the graph. | 2671 // Build the sequence for the graph. |
| 2674 LPlatformChunk* Build(); | 2672 LPlatformChunk* Build(); |
| 2675 | 2673 |
| 2676 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2674 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
| 2677 | 2675 |
| 2678 // Declare methods that deal with the individual node types. | 2676 // Declare methods that deal with the individual node types. |
| 2679 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2677 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2680 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2678 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2681 #undef DECLARE_DO | 2679 #undef DECLARE_DO |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2806 HBinaryOperation* instr); | 2804 HBinaryOperation* instr); |
| 2807 | 2805 |
| 2808 LPlatformChunk* chunk_; | 2806 LPlatformChunk* chunk_; |
| 2809 CompilationInfo* info_; | 2807 CompilationInfo* info_; |
| 2810 HGraph* const graph_; | 2808 HGraph* const graph_; |
| 2811 Status status_; | 2809 Status status_; |
| 2812 HInstruction* current_instruction_; | 2810 HInstruction* current_instruction_; |
| 2813 HBasicBlock* current_block_; | 2811 HBasicBlock* current_block_; |
| 2814 HBasicBlock* next_block_; | 2812 HBasicBlock* next_block_; |
| 2815 LAllocator* allocator_; | 2813 LAllocator* allocator_; |
| 2816 LInstruction* instruction_pending_deoptimization_environment_; | |
| 2817 BailoutId pending_deoptimization_ast_id_; | |
| 2818 | 2814 |
| 2819 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2815 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2820 }; | 2816 }; |
| 2821 | 2817 |
| 2822 #undef DECLARE_HYDROGEN_ACCESSOR | 2818 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2823 #undef DECLARE_CONCRETE_INSTRUCTION | 2819 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2824 | 2820 |
| 2825 } } // namespace v8::int | 2821 } } // namespace v8::int |
| 2826 | 2822 |
| 2827 #endif // V8_X64_LITHIUM_X64_H_ | 2823 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |