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_ARM_LITHIUM_CODEGEN_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
6 #define V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 6 #define V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
7 | 7 |
8 #include "arm/lithium-arm.h" | 8 #include "arm/lithium-arm.h" |
9 | 9 |
10 #include "arm/lithium-gap-resolver-arm.h" | 10 #include "arm/lithium-gap-resolver-arm.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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 LCodeGen* codegen_; | 429 LCodeGen* codegen_; |
432 Label entry_; | 430 Label entry_; |
433 Label exit_; | 431 Label exit_; |
434 Label* external_exit_; | 432 Label* external_exit_; |
435 int instruction_index_; | 433 int instruction_index_; |
436 }; | 434 }; |
437 | 435 |
438 } } // namespace v8::internal | 436 } } // namespace v8::internal |
439 | 437 |
440 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 438 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |