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_IA32_LITHIUM_CODEGEN_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 6 #define V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
7 | 7 |
8 #include "ia32/lithium-ia32.h" | 8 #include "ia32/lithium-ia32.h" |
9 | 9 |
10 #include "checks.h" | 10 #include "checks.h" |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 167 |
168 void EmitClassOfTest(Label* if_true, | 168 void EmitClassOfTest(Label* if_true, |
169 Label* if_false, | 169 Label* if_false, |
170 Handle<String> class_name, | 170 Handle<String> class_name, |
171 Register input, | 171 Register input, |
172 Register temporary, | 172 Register temporary, |
173 Register temporary2); | 173 Register temporary2); |
174 | 174 |
175 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 175 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
176 | 176 |
177 void Abort(BailoutReason reason); | |
178 | |
179 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 177 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
180 | 178 |
181 void SaveCallerDoubles(); | 179 void SaveCallerDoubles(); |
182 void RestoreCallerDoubles(); | 180 void RestoreCallerDoubles(); |
183 | 181 |
184 // Code generation passes. Returns true if code generation should | 182 // Code generation passes. Returns true if code generation should |
185 // continue. | 183 // continue. |
186 void GenerateBodyInstructionPre(LInstruction* instr) V8_OVERRIDE; | 184 void GenerateBodyInstructionPre(LInstruction* instr) V8_OVERRIDE; |
187 void GenerateBodyInstructionPost(LInstruction* instr) V8_OVERRIDE; | 185 void GenerateBodyInstructionPost(LInstruction* instr) V8_OVERRIDE; |
188 bool GeneratePrologue(); | 186 bool GeneratePrologue(); |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 Label exit_; | 514 Label exit_; |
517 Label* external_exit_; | 515 Label* external_exit_; |
518 Label done_; | 516 Label done_; |
519 int instruction_index_; | 517 int instruction_index_; |
520 LCodeGen::X87Stack x87_stack_; | 518 LCodeGen::X87Stack x87_stack_; |
521 }; | 519 }; |
522 | 520 |
523 } } // namespace v8::internal | 521 } } // namespace v8::internal |
524 | 522 |
525 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 523 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |