| 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 24 matching lines...) Expand all Loading... |
| 35 #include "safepoint-table.h" | 35 #include "safepoint-table.h" |
| 36 #include "scopes.h" | 36 #include "scopes.h" |
| 37 | 37 |
| 38 namespace v8 { | 38 namespace v8 { |
| 39 namespace internal { | 39 namespace internal { |
| 40 | 40 |
| 41 // Forward declarations. | 41 // Forward declarations. |
| 42 class LDeferredCode; | 42 class LDeferredCode; |
| 43 class SafepointGenerator; | 43 class SafepointGenerator; |
| 44 | 44 |
| 45 | |
| 46 class LCodeGen BASE_EMBEDDED { | 45 class LCodeGen BASE_EMBEDDED { |
| 47 public: | 46 public: |
| 48 LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info) | 47 LCodeGen(LChunk* chunk, MacroAssembler* assembler, CompilationInfo* info) |
| 49 : chunk_(chunk), | 48 : chunk_(chunk), |
| 50 masm_(assembler), | 49 masm_(assembler), |
| 51 info_(info), | 50 info_(info), |
| 52 current_block_(-1), | 51 current_block_(-1), |
| 53 current_instruction_(-1), | 52 current_instruction_(-1), |
| 54 instructions_(chunk->instructions()), | 53 instructions_(chunk->instructions()), |
| 55 deoptimizations_(4), | 54 deoptimizations_(4), |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 private: | 263 private: |
| 265 LCodeGen* codegen_; | 264 LCodeGen* codegen_; |
| 266 Label entry_; | 265 Label entry_; |
| 267 Label exit_; | 266 Label exit_; |
| 268 Label* external_exit_; | 267 Label* external_exit_; |
| 269 }; | 268 }; |
| 270 | 269 |
| 271 } } // namespace v8::internal | 270 } } // namespace v8::internal |
| 272 | 271 |
| 273 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 272 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |