| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 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 SafepointGenerator; | 44 class SafepointGenerator; |
| 45 | 45 |
| 46 class LCodeGen BASE_EMBEDDED { | 46 class LCodeGen BASE_EMBEDDED { |
| 47 public: | 47 public: |
| 48 LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info) | 48 LCodeGen(LChunkBase* chunk, MacroAssembler* assembler, CompilationInfo* info) |
| 49 : zone_(info->zone()), | 49 : zone_(info->zone()), |
| 50 chunk_(chunk), | 50 chunk_(static_cast<LChunk*>(chunk)), |
| 51 masm_(assembler), | 51 masm_(assembler), |
| 52 info_(info), | 52 info_(info), |
| 53 current_block_(-1), | 53 current_block_(-1), |
| 54 current_instruction_(-1), | 54 current_instruction_(-1), |
| 55 instructions_(chunk->instructions()), | 55 instructions_(chunk->instructions()), |
| 56 deoptimizations_(4, info->zone()), | 56 deoptimizations_(4, info->zone()), |
| 57 jump_table_(4, info->zone()), | 57 jump_table_(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()), |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 LCodeGen* codegen_; | 404 LCodeGen* codegen_; |
| 405 Label entry_; | 405 Label entry_; |
| 406 Label exit_; | 406 Label exit_; |
| 407 Label* external_exit_; | 407 Label* external_exit_; |
| 408 int instruction_index_; | 408 int instruction_index_; |
| 409 }; | 409 }; |
| 410 | 410 |
| 411 } } // namespace v8::internal | 411 } } // namespace v8::internal |
| 412 | 412 |
| 413 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 413 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |