| 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 2536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2547 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) | 2547 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
| 2548 : LChunkBuilderBase(graph->zone()), | 2548 : LChunkBuilderBase(graph->zone()), |
| 2549 chunk_(NULL), | 2549 chunk_(NULL), |
| 2550 info_(info), | 2550 info_(info), |
| 2551 graph_(graph), | 2551 graph_(graph), |
| 2552 status_(UNUSED), | 2552 status_(UNUSED), |
| 2553 current_instruction_(NULL), | 2553 current_instruction_(NULL), |
| 2554 current_block_(NULL), | 2554 current_block_(NULL), |
| 2555 next_block_(NULL), | 2555 next_block_(NULL), |
| 2556 allocator_(allocator), | 2556 allocator_(allocator), |
| 2557 position_(RelocInfo::kNoPosition), | 2557 position_(RelocInfo::kNoPosition) { } |
| 2558 instruction_pending_deoptimization_environment_(NULL), | |
| 2559 pending_deoptimization_ast_id_(BailoutId::None()) { } | |
| 2560 | 2558 |
| 2561 // Build the sequence for the graph. | 2559 // Build the sequence for the graph. |
| 2562 LPlatformChunk* Build(); | 2560 LPlatformChunk* Build(); |
| 2563 | 2561 |
| 2564 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2562 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
| 2565 | 2563 |
| 2566 // Declare methods that deal with the individual node types. | 2564 // Declare methods that deal with the individual node types. |
| 2567 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2565 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2568 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2566 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2569 #undef DECLARE_DO | 2567 #undef DECLARE_DO |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2684 | 2682 |
| 2685 LPlatformChunk* chunk_; | 2683 LPlatformChunk* chunk_; |
| 2686 CompilationInfo* info_; | 2684 CompilationInfo* info_; |
| 2687 HGraph* const graph_; | 2685 HGraph* const graph_; |
| 2688 Status status_; | 2686 Status status_; |
| 2689 HInstruction* current_instruction_; | 2687 HInstruction* current_instruction_; |
| 2690 HBasicBlock* current_block_; | 2688 HBasicBlock* current_block_; |
| 2691 HBasicBlock* next_block_; | 2689 HBasicBlock* next_block_; |
| 2692 LAllocator* allocator_; | 2690 LAllocator* allocator_; |
| 2693 int position_; | 2691 int position_; |
| 2694 LInstruction* instruction_pending_deoptimization_environment_; | |
| 2695 BailoutId pending_deoptimization_ast_id_; | |
| 2696 | 2692 |
| 2697 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2693 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2698 }; | 2694 }; |
| 2699 | 2695 |
| 2700 #undef DECLARE_HYDROGEN_ACCESSOR | 2696 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2701 #undef DECLARE_CONCRETE_INSTRUCTION | 2697 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2702 | 2698 |
| 2703 } } // namespace v8::internal | 2699 } } // namespace v8::internal |
| 2704 | 2700 |
| 2705 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2701 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |