| 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 2573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2584 public: | 2584 public: |
| 2585 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) | 2585 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
| 2586 : LChunkBuilderBase(graph->zone()), | 2586 : LChunkBuilderBase(graph->zone()), |
| 2587 chunk_(NULL), | 2587 chunk_(NULL), |
| 2588 info_(info), | 2588 info_(info), |
| 2589 graph_(graph), | 2589 graph_(graph), |
| 2590 status_(UNUSED), | 2590 status_(UNUSED), |
| 2591 current_instruction_(NULL), | 2591 current_instruction_(NULL), |
| 2592 current_block_(NULL), | 2592 current_block_(NULL), |
| 2593 next_block_(NULL), | 2593 next_block_(NULL), |
| 2594 allocator_(allocator), | 2594 allocator_(allocator) { } |
| 2595 instruction_pending_deoptimization_environment_(NULL), | |
| 2596 pending_deoptimization_ast_id_(BailoutId::None()) { } | |
| 2597 | 2595 |
| 2598 // Build the sequence for the graph. | 2596 // Build the sequence for the graph. |
| 2599 LPlatformChunk* Build(); | 2597 LPlatformChunk* Build(); |
| 2600 | 2598 |
| 2601 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2599 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
| 2602 | 2600 |
| 2603 // Declare methods that deal with the individual node types. | 2601 // Declare methods that deal with the individual node types. |
| 2604 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2602 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2605 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2603 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2606 #undef DECLARE_DO | 2604 #undef DECLARE_DO |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2729 LOperand* GetStoreKeyedValueOperand(HStoreKeyed* instr); | 2727 LOperand* GetStoreKeyedValueOperand(HStoreKeyed* instr); |
| 2730 | 2728 |
| 2731 LPlatformChunk* chunk_; | 2729 LPlatformChunk* chunk_; |
| 2732 CompilationInfo* info_; | 2730 CompilationInfo* info_; |
| 2733 HGraph* const graph_; | 2731 HGraph* const graph_; |
| 2734 Status status_; | 2732 Status status_; |
| 2735 HInstruction* current_instruction_; | 2733 HInstruction* current_instruction_; |
| 2736 HBasicBlock* current_block_; | 2734 HBasicBlock* current_block_; |
| 2737 HBasicBlock* next_block_; | 2735 HBasicBlock* next_block_; |
| 2738 LAllocator* allocator_; | 2736 LAllocator* allocator_; |
| 2739 LInstruction* instruction_pending_deoptimization_environment_; | |
| 2740 BailoutId pending_deoptimization_ast_id_; | |
| 2741 | 2737 |
| 2742 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2738 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2743 }; | 2739 }; |
| 2744 | 2740 |
| 2745 #undef DECLARE_HYDROGEN_ACCESSOR | 2741 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2746 #undef DECLARE_CONCRETE_INSTRUCTION | 2742 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2747 | 2743 |
| 2748 } } // namespace v8::internal | 2744 } } // namespace v8::internal |
| 2749 | 2745 |
| 2750 #endif // V8_IA32_LITHIUM_IA32_H_ | 2746 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |