| 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 2625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2636 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) | 2636 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
| 2637 : LChunkBuilderBase(graph->zone()), | 2637 : LChunkBuilderBase(graph->zone()), |
| 2638 chunk_(NULL), | 2638 chunk_(NULL), |
| 2639 info_(info), | 2639 info_(info), |
| 2640 graph_(graph), | 2640 graph_(graph), |
| 2641 status_(UNUSED), | 2641 status_(UNUSED), |
| 2642 current_instruction_(NULL), | 2642 current_instruction_(NULL), |
| 2643 current_block_(NULL), | 2643 current_block_(NULL), |
| 2644 next_block_(NULL), | 2644 next_block_(NULL), |
| 2645 allocator_(allocator), | 2645 allocator_(allocator), |
| 2646 instruction_pending_deoptimization_environment_(NULL), | 2646 instruction_pending_deoptimization_environment_(NULL) { } |
| 2647 pending_deoptimization_ast_id_(BailoutId::None()) { } | |
| 2648 | 2647 |
| 2649 // Build the sequence for the graph. | 2648 // Build the sequence for the graph. |
| 2650 LPlatformChunk* Build(); | 2649 LPlatformChunk* Build(); |
| 2651 | 2650 |
| 2652 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2651 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
| 2653 | 2652 |
| 2654 // Declare methods that deal with the individual node types. | 2653 // Declare methods that deal with the individual node types. |
| 2655 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2654 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2656 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2655 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2657 #undef DECLARE_DO | 2656 #undef DECLARE_DO |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2778 | 2777 |
| 2779 LPlatformChunk* chunk_; | 2778 LPlatformChunk* chunk_; |
| 2780 CompilationInfo* info_; | 2779 CompilationInfo* info_; |
| 2781 HGraph* const graph_; | 2780 HGraph* const graph_; |
| 2782 Status status_; | 2781 Status status_; |
| 2783 HInstruction* current_instruction_; | 2782 HInstruction* current_instruction_; |
| 2784 HBasicBlock* current_block_; | 2783 HBasicBlock* current_block_; |
| 2785 HBasicBlock* next_block_; | 2784 HBasicBlock* next_block_; |
| 2786 LAllocator* allocator_; | 2785 LAllocator* allocator_; |
| 2787 LInstruction* instruction_pending_deoptimization_environment_; | 2786 LInstruction* instruction_pending_deoptimization_environment_; |
| 2788 BailoutId pending_deoptimization_ast_id_; | |
| 2789 | 2787 |
| 2790 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2788 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2791 }; | 2789 }; |
| 2792 | 2790 |
| 2793 #undef DECLARE_HYDROGEN_ACCESSOR | 2791 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2794 #undef DECLARE_CONCRETE_INSTRUCTION | 2792 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2795 | 2793 |
| 2796 } } // namespace v8::internal | 2794 } } // namespace v8::internal |
| 2797 | 2795 |
| 2798 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2796 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |