| 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 28 matching lines...) Expand all Loading... |
| 39 namespace v8 { | 39 namespace v8 { |
| 40 namespace internal { | 40 namespace internal { |
| 41 | 41 |
| 42 // Forward declarations. | 42 // Forward declarations. |
| 43 class LDeferredCode; | 43 class LDeferredCode; |
| 44 class LGapNode; | 44 class LGapNode; |
| 45 class SafepointGenerator; | 45 class SafepointGenerator; |
| 46 | 46 |
| 47 class LCodeGen BASE_EMBEDDED { | 47 class LCodeGen BASE_EMBEDDED { |
| 48 public: | 48 public: |
| 49 LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info) | 49 LCodeGen(LChunkBase* chunk, MacroAssembler* assembler, CompilationInfo* info) |
| 50 : zone_(info->zone()), | 50 : zone_(info->zone()), |
| 51 chunk_(chunk), | 51 chunk_(static_cast<LChunk*>(chunk)), |
| 52 masm_(assembler), | 52 masm_(assembler), |
| 53 info_(info), | 53 info_(info), |
| 54 current_block_(-1), | 54 current_block_(-1), |
| 55 current_instruction_(-1), | 55 current_instruction_(-1), |
| 56 instructions_(chunk->instructions()), | 56 instructions_(chunk->instructions()), |
| 57 deoptimizations_(4, info->zone()), | 57 deoptimizations_(4, info->zone()), |
| 58 deoptimization_literals_(8, info->zone()), | 58 deoptimization_literals_(8, info->zone()), |
| 59 inlined_function_count_(0), | 59 inlined_function_count_(0), |
| 60 scope_(info->scope()), | 60 scope_(info->scope()), |
| 61 status_(UNUSED), | 61 status_(UNUSED), |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 LCodeGen* codegen_; | 409 LCodeGen* codegen_; |
| 410 Label entry_; | 410 Label entry_; |
| 411 Label exit_; | 411 Label exit_; |
| 412 Label* external_exit_; | 412 Label* external_exit_; |
| 413 int instruction_index_; | 413 int instruction_index_; |
| 414 }; | 414 }; |
| 415 | 415 |
| 416 } } // namespace v8::internal | 416 } } // namespace v8::internal |
| 417 | 417 |
| 418 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 418 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |