| 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 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 namespace v8 { | 37 namespace v8 { |
| 38 namespace internal { | 38 namespace internal { |
| 39 | 39 |
| 40 // Forward declarations. | 40 // Forward declarations. |
| 41 class LDeferredCode; | 41 class LDeferredCode; |
| 42 class SafepointGenerator; | 42 class SafepointGenerator; |
| 43 | 43 |
| 44 class LCodeGen BASE_EMBEDDED { | 44 class LCodeGen BASE_EMBEDDED { |
| 45 public: | 45 public: |
| 46 LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info) | 46 LCodeGen(LChunkBase* chunk, MacroAssembler* assembler, CompilationInfo* info) |
| 47 : zone_(info->zone()), | 47 : zone_(info->zone()), |
| 48 chunk_(chunk), | 48 chunk_(static_cast<LChunk*>(chunk)), |
| 49 masm_(assembler), | 49 masm_(assembler), |
| 50 info_(info), | 50 info_(info), |
| 51 current_block_(-1), | 51 current_block_(-1), |
| 52 current_instruction_(-1), | 52 current_instruction_(-1), |
| 53 instructions_(chunk->instructions()), | 53 instructions_(chunk->instructions()), |
| 54 deoptimizations_(4, info->zone()), | 54 deoptimizations_(4, info->zone()), |
| 55 deopt_jump_table_(4, info->zone()), | 55 deopt_jump_table_(4, info->zone()), |
| 56 deoptimization_literals_(8, info->zone()), | 56 deoptimization_literals_(8, info->zone()), |
| 57 inlined_function_count_(0), | 57 inlined_function_count_(0), |
| 58 scope_(info->scope()), | 58 scope_(info->scope()), |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 LCodeGen* codegen_; | 450 LCodeGen* codegen_; |
| 451 Label entry_; | 451 Label entry_; |
| 452 Label exit_; | 452 Label exit_; |
| 453 Label* external_exit_; | 453 Label* external_exit_; |
| 454 int instruction_index_; | 454 int instruction_index_; |
| 455 }; | 455 }; |
| 456 | 456 |
| 457 } } // namespace v8::internal | 457 } } // namespace v8::internal |
| 458 | 458 |
| 459 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 459 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |