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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 void EmitClassOfTest(Label* if_true, | 173 void EmitClassOfTest(Label* if_true, |
174 Label* if_false, | 174 Label* if_false, |
175 Handle<String> class_name, | 175 Handle<String> class_name, |
176 Register input, | 176 Register input, |
177 Register temporary, | 177 Register temporary, |
178 Register scratch); | 178 Register scratch); |
179 | 179 |
180 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 180 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
181 | 181 |
182 void Abort(const char* reason); | 182 void Abort(BailoutReason reason); |
183 void FPRINTF_CHECKING Comment(const char* format, ...); | 183 void FPRINTF_CHECKING Comment(const char* format, ...); |
184 | 184 |
185 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 185 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
186 | 186 |
187 // Code generation passes. Returns true if code generation should | 187 // Code generation passes. Returns true if code generation should |
188 // continue. | 188 // continue. |
189 bool GeneratePrologue(); | 189 bool GeneratePrologue(); |
190 bool GenerateBody(); | 190 bool GenerateBody(); |
191 bool GenerateDeferredCode(); | 191 bool GenerateDeferredCode(); |
192 bool GenerateJumpTable(); | 192 bool GenerateJumpTable(); |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 LCodeGen* codegen_; | 428 LCodeGen* codegen_; |
429 Label entry_; | 429 Label entry_; |
430 Label exit_; | 430 Label exit_; |
431 Label* external_exit_; | 431 Label* external_exit_; |
432 int instruction_index_; | 432 int instruction_index_; |
433 }; | 433 }; |
434 | 434 |
435 } } // namespace v8::internal | 435 } } // namespace v8::internal |
436 | 436 |
437 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 437 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |