| 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 1863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1874 LChunkBuilder(HGraph* graph, LAllocator* allocator) | 1874 LChunkBuilder(HGraph* graph, LAllocator* allocator) |
| 1875 : chunk_(NULL), | 1875 : chunk_(NULL), |
| 1876 graph_(graph), | 1876 graph_(graph), |
| 1877 status_(UNUSED), | 1877 status_(UNUSED), |
| 1878 current_instruction_(NULL), | 1878 current_instruction_(NULL), |
| 1879 current_block_(NULL), | 1879 current_block_(NULL), |
| 1880 next_block_(NULL), | 1880 next_block_(NULL), |
| 1881 argument_count_(0), | 1881 argument_count_(0), |
| 1882 allocator_(allocator), | 1882 allocator_(allocator), |
| 1883 position_(RelocInfo::kNoPosition), | 1883 position_(RelocInfo::kNoPosition), |
| 1884 instructions_pending_deoptimization_environment_(NULL), | 1884 instruction_pending_deoptimization_environment_(NULL), |
| 1885 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } | 1885 pending_deoptimization_ast_id_(AstNode::kNoNumber) { } |
| 1886 | 1886 |
| 1887 // Build the sequence for the graph. | 1887 // Build the sequence for the graph. |
| 1888 LChunk* Build(); | 1888 LChunk* Build(); |
| 1889 | 1889 |
| 1890 // Declare methods that deal with the individual node types. | 1890 // Declare methods that deal with the individual node types. |
| 1891 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 1891 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
| 1892 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 1892 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 1893 #undef DECLARE_DO | 1893 #undef DECLARE_DO |
| 1894 | 1894 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2008 | 2008 |
| 2009 LChunk* chunk_; | 2009 LChunk* chunk_; |
| 2010 HGraph* const graph_; | 2010 HGraph* const graph_; |
| 2011 Status status_; | 2011 Status status_; |
| 2012 HInstruction* current_instruction_; | 2012 HInstruction* current_instruction_; |
| 2013 HBasicBlock* current_block_; | 2013 HBasicBlock* current_block_; |
| 2014 HBasicBlock* next_block_; | 2014 HBasicBlock* next_block_; |
| 2015 int argument_count_; | 2015 int argument_count_; |
| 2016 LAllocator* allocator_; | 2016 LAllocator* allocator_; |
| 2017 int position_; | 2017 int position_; |
| 2018 LInstruction* instructions_pending_deoptimization_environment_; | 2018 LInstruction* instruction_pending_deoptimization_environment_; |
| 2019 int pending_deoptimization_ast_id_; | 2019 int pending_deoptimization_ast_id_; |
| 2020 | 2020 |
| 2021 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2021 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2022 }; | 2022 }; |
| 2023 | 2023 |
| 2024 #undef DECLARE_HYDROGEN_ACCESSOR | 2024 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2025 #undef DECLARE_INSTRUCTION | 2025 #undef DECLARE_INSTRUCTION |
| 2026 #undef DECLARE_CONCRETE_INSTRUCTION | 2026 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2027 | 2027 |
| 2028 } } // namespace v8::internal | 2028 } } // namespace v8::internal |
| 2029 | 2029 |
| 2030 #endif // V8_IA32_LITHIUM_IA32_H_ | 2030 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |