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