| 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 2735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2746 : chunk_(NULL), | 2746 : chunk_(NULL), |
| 2747 info_(info), | 2747 info_(info), |
| 2748 graph_(graph), | 2748 graph_(graph), |
| 2749 zone_(graph->zone()), | 2749 zone_(graph->zone()), |
| 2750 status_(UNUSED), | 2750 status_(UNUSED), |
| 2751 current_instruction_(NULL), | 2751 current_instruction_(NULL), |
| 2752 current_block_(NULL), | 2752 current_block_(NULL), |
| 2753 next_block_(NULL), | 2753 next_block_(NULL), |
| 2754 argument_count_(0), | 2754 argument_count_(0), |
| 2755 allocator_(allocator), | 2755 allocator_(allocator), |
| 2756 position_(RelocInfo::kNoPosition), | 2756 position_(RelocInfo::kNoPosition) { } |
| 2757 instruction_pending_deoptimization_environment_(NULL), | |
| 2758 pending_deoptimization_ast_id_(BailoutId::None()) { } | |
| 2759 | 2757 |
| 2760 // Build the sequence for the graph. | 2758 // Build the sequence for the graph. |
| 2761 LPlatformChunk* Build(); | 2759 LPlatformChunk* Build(); |
| 2762 | 2760 |
| 2763 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2761 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
| 2764 | 2762 |
| 2765 // Declare methods that deal with the individual node types. | 2763 // Declare methods that deal with the individual node types. |
| 2766 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2764 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2767 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2765 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2768 #undef DECLARE_DO | 2766 #undef DECLARE_DO |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2901 CompilationInfo* info_; | 2899 CompilationInfo* info_; |
| 2902 HGraph* const graph_; | 2900 HGraph* const graph_; |
| 2903 Zone* zone_; | 2901 Zone* zone_; |
| 2904 Status status_; | 2902 Status status_; |
| 2905 HInstruction* current_instruction_; | 2903 HInstruction* current_instruction_; |
| 2906 HBasicBlock* current_block_; | 2904 HBasicBlock* current_block_; |
| 2907 HBasicBlock* next_block_; | 2905 HBasicBlock* next_block_; |
| 2908 int argument_count_; | 2906 int argument_count_; |
| 2909 LAllocator* allocator_; | 2907 LAllocator* allocator_; |
| 2910 int position_; | 2908 int position_; |
| 2911 LInstruction* instruction_pending_deoptimization_environment_; | |
| 2912 BailoutId pending_deoptimization_ast_id_; | |
| 2913 | 2909 |
| 2914 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2910 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2915 }; | 2911 }; |
| 2916 | 2912 |
| 2917 #undef DECLARE_HYDROGEN_ACCESSOR | 2913 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2918 #undef DECLARE_CONCRETE_INSTRUCTION | 2914 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2919 | 2915 |
| 2920 } } // namespace v8::internal | 2916 } } // namespace v8::internal |
| 2921 | 2917 |
| 2922 #endif // V8_ARM_LITHIUM_ARM_H_ | 2918 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |