OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 207 |
208 void EmitClassOfTest(Label* if_true, | 208 void EmitClassOfTest(Label* if_true, |
209 Label* if_false, | 209 Label* if_false, |
210 Handle<String> class_name, | 210 Handle<String> class_name, |
211 Register input, | 211 Register input, |
212 Register temporary, | 212 Register temporary, |
213 Register temporary2); | 213 Register temporary2); |
214 | 214 |
215 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 215 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
216 | 216 |
217 void Abort(const char* reason); | 217 void Abort(BailoutReason reason); |
218 void FPRINTF_CHECKING Comment(const char* format, ...); | 218 void FPRINTF_CHECKING Comment(const char* format, ...); |
219 | 219 |
220 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 220 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
221 | 221 |
222 // Code generation passes. Returns true if code generation should | 222 // Code generation passes. Returns true if code generation should |
223 // continue. | 223 // continue. |
224 bool GeneratePrologue(); | 224 bool GeneratePrologue(); |
225 bool GenerateBody(); | 225 bool GenerateBody(); |
226 bool GenerateDeferredCode(); | 226 bool GenerateDeferredCode(); |
227 bool GenerateDeoptJumpTable(); | 227 bool GenerateDeoptJumpTable(); |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 LCodeGen* codegen_; | 492 LCodeGen* codegen_; |
493 Label entry_; | 493 Label entry_; |
494 Label exit_; | 494 Label exit_; |
495 Label* external_exit_; | 495 Label* external_exit_; |
496 int instruction_index_; | 496 int instruction_index_; |
497 }; | 497 }; |
498 | 498 |
499 } } // namespace v8::internal | 499 } } // namespace v8::internal |
500 | 500 |
501 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 501 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |