| 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 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1848 LChunkBuilder(HGraph* graph, LAllocator* allocator) | 1848 LChunkBuilder(HGraph* graph, LAllocator* allocator) |
| 1849 : chunk_(NULL), | 1849 : chunk_(NULL), |
| 1850 graph_(graph), | 1850 graph_(graph), |
| 1851 status_(UNUSED), | 1851 status_(UNUSED), |
| 1852 current_instruction_(NULL), | 1852 current_instruction_(NULL), |
| 1853 current_block_(NULL), | 1853 current_block_(NULL), |
| 1854 next_block_(NULL), | 1854 next_block_(NULL), |
| 1855 argument_count_(0), | 1855 argument_count_(0), |
| 1856 allocator_(allocator), | 1856 allocator_(allocator), |
| 1857 position_(RelocInfo::kNoPosition), | 1857 position_(RelocInfo::kNoPosition), |
| 1858 instructions_pending_deoptimization_environment_(NULL), | 1858 instruction_pending_deoptimization_environment_(NULL), |
| 1859 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } | 1859 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } |
| 1860 | 1860 |
| 1861 // Build the sequence for the graph. | 1861 // Build the sequence for the graph. |
| 1862 LChunk* Build(); | 1862 LChunk* Build(); |
| 1863 | 1863 |
| 1864 // Declare methods that deal with the individual node types. | 1864 // Declare methods that deal with the individual node types. |
| 1865 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 1865 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 1866 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 1866 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 1867 #undef DECLARE_DO | 1867 #undef DECLARE_DO |
| 1868 | 1868 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1982 | 1982 |
| 1983 LChunk* chunk_; | 1983 LChunk* chunk_; |
| 1984 HGraph* const graph_; | 1984 HGraph* const graph_; |
| 1985 Status status_; | 1985 Status status_; |
| 1986 HInstruction* current_instruction_; | 1986 HInstruction* current_instruction_; |
| 1987 HBasicBlock* current_block_; | 1987 HBasicBlock* current_block_; |
| 1988 HBasicBlock* next_block_; | 1988 HBasicBlock* next_block_; |
| 1989 int argument_count_; | 1989 int argument_count_; |
| 1990 LAllocator* allocator_; | 1990 LAllocator* allocator_; |
| 1991 int position_; | 1991 int position_; |
| 1992 LInstruction* instructions_pending_deoptimization_environment_; | 1992 LInstruction* instruction_pending_deoptimization_environment_; |
| 1993 int pending_deoptimization_ast_id_; | 1993 int pending_deoptimization_ast_id_; |
| 1994 | 1994 |
| 1995 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 1995 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 1996 }; | 1996 }; |
| 1997 | 1997 |
| 1998 #undef DECLARE_HYDROGEN_ACCESSOR | 1998 #undef DECLARE_HYDROGEN_ACCESSOR |
| 1999 #undef DECLARE_INSTRUCTION | 1999 #undef DECLARE_INSTRUCTION |
| 2000 #undef DECLARE_CONCRETE_INSTRUCTION | 2000 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2001 | 2001 |
| 2002 } } // namespace v8::internal | 2002 } } // namespace v8::internal |
| 2003 | 2003 |
| 2004 #endif // V8_ARM_LITHIUM_ARM_H_ | 2004 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |