OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
7 | 7 |
8 #include "src/deoptimizer.h" | 8 #include "src/deoptimizer.h" |
9 #include "src/lithium-codegen.h" | 9 #include "src/lithium-codegen.h" |
10 #include "src/mips64/lithium-gap-resolver-mips64.h" | 10 #include "src/mips64/lithium-gap-resolver-mips64.h" |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 166 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
167 | 167 |
168 void SaveCallerDoubles(); | 168 void SaveCallerDoubles(); |
169 void RestoreCallerDoubles(); | 169 void RestoreCallerDoubles(); |
170 | 170 |
171 // Code generation passes. Returns true if code generation should | 171 // Code generation passes. Returns true if code generation should |
172 // continue. | 172 // continue. |
173 void GenerateBodyInstructionPre(LInstruction* instr) OVERRIDE; | 173 void GenerateBodyInstructionPre(LInstruction* instr) OVERRIDE; |
174 bool GeneratePrologue(); | 174 bool GeneratePrologue(); |
175 bool GenerateDeferredCode(); | 175 bool GenerateDeferredCode(); |
176 bool GenerateDeoptJumpTable(); | 176 bool GenerateJumpTable(); |
177 bool GenerateSafepointTable(); | 177 bool GenerateSafepointTable(); |
178 | 178 |
179 // Generates the custom OSR entrypoint and sets the osr_pc_offset. | 179 // Generates the custom OSR entrypoint and sets the osr_pc_offset. |
180 void GenerateOsrPrologue(); | 180 void GenerateOsrPrologue(); |
181 | 181 |
182 enum SafepointMode { | 182 enum SafepointMode { |
183 RECORD_SIMPLE_SAFEPOINT, | 183 RECORD_SIMPLE_SAFEPOINT, |
184 RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS | 184 RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS |
185 }; | 185 }; |
186 | 186 |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 LCodeGen* codegen_; | 441 LCodeGen* codegen_; |
442 Label entry_; | 442 Label entry_; |
443 Label exit_; | 443 Label exit_; |
444 Label* external_exit_; | 444 Label* external_exit_; |
445 int instruction_index_; | 445 int instruction_index_; |
446 }; | 446 }; |
447 | 447 |
448 } } // namespace v8::internal | 448 } } // namespace v8::internal |
449 | 449 |
450 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 450 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |