| 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 "deoptimizer.h" | 8 #include "deoptimizer.h" |
| 9 #include "mips/lithium-gap-resolver-mips.h" | 9 #include "mips/lithium-gap-resolver-mips.h" |
| 10 #include "mips/lithium-mips.h" | 10 #include "mips/lithium-mips.h" |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 156 |
| 157 void EmitClassOfTest(Label* if_true, | 157 void EmitClassOfTest(Label* if_true, |
| 158 Label* if_false, | 158 Label* if_false, |
| 159 Handle<String> class_name, | 159 Handle<String> class_name, |
| 160 Register input, | 160 Register input, |
| 161 Register temporary, | 161 Register temporary, |
| 162 Register temporary2); | 162 Register temporary2); |
| 163 | 163 |
| 164 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 164 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| 165 | 165 |
| 166 void Abort(BailoutReason reason); | |
| 167 | |
| 168 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 166 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
| 169 | 167 |
| 170 void SaveCallerDoubles(); | 168 void SaveCallerDoubles(); |
| 171 void RestoreCallerDoubles(); | 169 void RestoreCallerDoubles(); |
| 172 | 170 |
| 173 // Code generation passes. Returns true if code generation should | 171 // Code generation passes. Returns true if code generation should |
| 174 // continue. | 172 // continue. |
| 175 void GenerateBodyInstructionPre(LInstruction* instr) V8_OVERRIDE; | 173 void GenerateBodyInstructionPre(LInstruction* instr) V8_OVERRIDE; |
| 176 bool GeneratePrologue(); | 174 bool GeneratePrologue(); |
| 177 bool GenerateDeferredCode(); | 175 bool GenerateDeferredCode(); |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 LCodeGen* codegen_; | 477 LCodeGen* codegen_; |
| 480 Label entry_; | 478 Label entry_; |
| 481 Label exit_; | 479 Label exit_; |
| 482 Label* external_exit_; | 480 Label* external_exit_; |
| 483 int instruction_index_; | 481 int instruction_index_; |
| 484 }; | 482 }; |
| 485 | 483 |
| 486 } } // namespace v8::internal | 484 } } // namespace v8::internal |
| 487 | 485 |
| 488 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 486 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |