| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1840 LChunkBuilder(HGraph* graph, LAllocator* allocator) | 1840 LChunkBuilder(HGraph* graph, LAllocator* allocator) |
| 1841 : chunk_(NULL), | 1841 : chunk_(NULL), |
| 1842 graph_(graph), | 1842 graph_(graph), |
| 1843 status_(UNUSED), | 1843 status_(UNUSED), |
| 1844 current_instruction_(NULL), | 1844 current_instruction_(NULL), |
| 1845 current_block_(NULL), | 1845 current_block_(NULL), |
| 1846 next_block_(NULL), | 1846 next_block_(NULL), |
| 1847 argument_count_(0), | 1847 argument_count_(0), |
| 1848 allocator_(allocator), | 1848 allocator_(allocator), |
| 1849 position_(RelocInfo::kNoPosition), | 1849 position_(RelocInfo::kNoPosition), |
| 1850 instructions_pending_deoptimization_environment_(NULL), | 1850 instruction_pending_deoptimization_environment_(NULL), |
| 1851 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } | 1851 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } |
| 1852 | 1852 |
| 1853 // Build the sequence for the graph. | 1853 // Build the sequence for the graph. |
| 1854 LChunk* Build(); | 1854 LChunk* Build(); |
| 1855 | 1855 |
| 1856 // Declare methods that deal with the individual node types. | 1856 // Declare methods that deal with the individual node types. |
| 1857 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 1857 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 1858 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 1858 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 1859 #undef DECLARE_DO | 1859 #undef DECLARE_DO |
| 1860 | 1860 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1974 | 1974 |
| 1975 LChunk* chunk_; | 1975 LChunk* chunk_; |
| 1976 HGraph* const graph_; | 1976 HGraph* const graph_; |
| 1977 Status status_; | 1977 Status status_; |
| 1978 HInstruction* current_instruction_; | 1978 HInstruction* current_instruction_; |
| 1979 HBasicBlock* current_block_; | 1979 HBasicBlock* current_block_; |
| 1980 HBasicBlock* next_block_; | 1980 HBasicBlock* next_block_; |
| 1981 int argument_count_; | 1981 int argument_count_; |
| 1982 LAllocator* allocator_; | 1982 LAllocator* allocator_; |
| 1983 int position_; | 1983 int position_; |
| 1984 LInstruction* instructions_pending_deoptimization_environment_; | 1984 LInstruction* instruction_pending_deoptimization_environment_; |
| 1985 int pending_deoptimization_ast_id_; | 1985 int pending_deoptimization_ast_id_; |
| 1986 | 1986 |
| 1987 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 1987 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 1988 }; | 1988 }; |
| 1989 | 1989 |
| 1990 #undef DECLARE_HYDROGEN_ACCESSOR | 1990 #undef DECLARE_HYDROGEN_ACCESSOR |
| 1991 #undef DECLARE_INSTRUCTION | 1991 #undef DECLARE_INSTRUCTION |
| 1992 #undef DECLARE_CONCRETE_INSTRUCTION | 1992 #undef DECLARE_CONCRETE_INSTRUCTION |
| 1993 | 1993 |
| 1994 } } // namespace v8::int | 1994 } } // namespace v8::int |
| 1995 | 1995 |
| 1996 #endif // V8_X64_LITHIUM_X64_H_ | 1996 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |