| 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 2562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2573 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) | 2573 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) |
| 2574 : LChunkBuilderBase(graph->zone()), | 2574 : LChunkBuilderBase(graph->zone()), |
| 2575 chunk_(NULL), | 2575 chunk_(NULL), |
| 2576 info_(info), | 2576 info_(info), |
| 2577 graph_(graph), | 2577 graph_(graph), |
| 2578 status_(UNUSED), | 2578 status_(UNUSED), |
| 2579 current_instruction_(NULL), | 2579 current_instruction_(NULL), |
| 2580 current_block_(NULL), | 2580 current_block_(NULL), |
| 2581 next_block_(NULL), | 2581 next_block_(NULL), |
| 2582 allocator_(allocator), | 2582 allocator_(allocator), |
| 2583 position_(RelocInfo::kNoPosition), | |
| 2584 instruction_pending_deoptimization_environment_(NULL), | 2583 instruction_pending_deoptimization_environment_(NULL), |
| 2585 pending_deoptimization_ast_id_(BailoutId::None()) { } | 2584 pending_deoptimization_ast_id_(BailoutId::None()) { } |
| 2586 | 2585 |
| 2587 // Build the sequence for the graph. | 2586 // Build the sequence for the graph. |
| 2588 LPlatformChunk* Build(); | 2587 LPlatformChunk* Build(); |
| 2589 | 2588 |
| 2590 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2589 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
| 2591 | 2590 |
| 2592 // Declare methods that deal with the individual node types. | 2591 // Declare methods that deal with the individual node types. |
| 2593 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2592 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2710 HBinaryOperation* instr); | 2709 HBinaryOperation* instr); |
| 2711 | 2710 |
| 2712 LPlatformChunk* chunk_; | 2711 LPlatformChunk* chunk_; |
| 2713 CompilationInfo* info_; | 2712 CompilationInfo* info_; |
| 2714 HGraph* const graph_; | 2713 HGraph* const graph_; |
| 2715 Status status_; | 2714 Status status_; |
| 2716 HInstruction* current_instruction_; | 2715 HInstruction* current_instruction_; |
| 2717 HBasicBlock* current_block_; | 2716 HBasicBlock* current_block_; |
| 2718 HBasicBlock* next_block_; | 2717 HBasicBlock* next_block_; |
| 2719 LAllocator* allocator_; | 2718 LAllocator* allocator_; |
| 2720 int position_; | |
| 2721 LInstruction* instruction_pending_deoptimization_environment_; | 2719 LInstruction* instruction_pending_deoptimization_environment_; |
| 2722 BailoutId pending_deoptimization_ast_id_; | 2720 BailoutId pending_deoptimization_ast_id_; |
| 2723 | 2721 |
| 2724 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2722 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2725 }; | 2723 }; |
| 2726 | 2724 |
| 2727 #undef DECLARE_HYDROGEN_ACCESSOR | 2725 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2728 #undef DECLARE_CONCRETE_INSTRUCTION | 2726 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2729 | 2727 |
| 2730 } } // namespace v8::internal | 2728 } } // namespace v8::internal |
| 2731 | 2729 |
| 2732 #endif // V8_ARM_LITHIUM_ARM_H_ | 2730 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |