| 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 2711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2722 : chunk_(NULL), | 2722 : chunk_(NULL), |
| 2723 info_(info), | 2723 info_(info), |
| 2724 graph_(graph), | 2724 graph_(graph), |
| 2725 zone_(graph->zone()), | 2725 zone_(graph->zone()), |
| 2726 status_(UNUSED), | 2726 status_(UNUSED), |
| 2727 current_instruction_(NULL), | 2727 current_instruction_(NULL), |
| 2728 current_block_(NULL), | 2728 current_block_(NULL), |
| 2729 next_block_(NULL), | 2729 next_block_(NULL), |
| 2730 argument_count_(0), | 2730 argument_count_(0), |
| 2731 allocator_(allocator), | 2731 allocator_(allocator), |
| 2732 position_(RelocInfo::kNoPosition), | 2732 position_(RelocInfo::kNoPosition) { } |
| 2733 instruction_pending_deoptimization_environment_(NULL), | |
| 2734 pending_deoptimization_ast_id_(BailoutId::None()) { } | |
| 2735 | 2733 |
| 2736 // Build the sequence for the graph. | 2734 // Build the sequence for the graph. |
| 2737 LPlatformChunk* Build(); | 2735 LPlatformChunk* Build(); |
| 2738 | 2736 |
| 2739 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); | 2737 LInstruction* CheckElideControlInstruction(HControlInstruction* instr); |
| 2740 | 2738 |
| 2741 // Declare methods that deal with the individual node types. | 2739 // Declare methods that deal with the individual node types. |
| 2742 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2740 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 2743 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2741 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 2744 #undef DECLARE_DO | 2742 #undef DECLARE_DO |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2876 CompilationInfo* info_; | 2874 CompilationInfo* info_; |
| 2877 HGraph* const graph_; | 2875 HGraph* const graph_; |
| 2878 Zone* zone_; | 2876 Zone* zone_; |
| 2879 Status status_; | 2877 Status status_; |
| 2880 HInstruction* current_instruction_; | 2878 HInstruction* current_instruction_; |
| 2881 HBasicBlock* current_block_; | 2879 HBasicBlock* current_block_; |
| 2882 HBasicBlock* next_block_; | 2880 HBasicBlock* next_block_; |
| 2883 int argument_count_; | 2881 int argument_count_; |
| 2884 LAllocator* allocator_; | 2882 LAllocator* allocator_; |
| 2885 int position_; | 2883 int position_; |
| 2886 LInstruction* instruction_pending_deoptimization_environment_; | |
| 2887 BailoutId pending_deoptimization_ast_id_; | |
| 2888 | 2884 |
| 2889 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2885 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2890 }; | 2886 }; |
| 2891 | 2887 |
| 2892 #undef DECLARE_HYDROGEN_ACCESSOR | 2888 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2893 #undef DECLARE_CONCRETE_INSTRUCTION | 2889 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2894 | 2890 |
| 2895 } } // namespace v8::internal | 2891 } } // namespace v8::internal |
| 2896 | 2892 |
| 2897 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2893 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |