| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 LInstruction* GetNextInstruction(); | 198 LInstruction* GetNextInstruction(); |
| 199 | 199 |
| 200 void EmitClassOfTest(Label* if_true, | 200 void EmitClassOfTest(Label* if_true, |
| 201 Label* if_false, | 201 Label* if_false, |
| 202 Handle<String> class_name, | 202 Handle<String> class_name, |
| 203 Register input, | 203 Register input, |
| 204 Register temporary, | 204 Register temporary, |
| 205 Register temporary2); | 205 Register temporary2); |
| 206 | 206 |
| 207 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 207 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| 208 int GetParameterCount() const { return info()->num_parameters(); } | |
| 209 | 208 |
| 210 void Abort(const char* reason); | 209 void Abort(const char* reason); |
| 211 void Comment(const char* format, ...); | 210 void Comment(const char* format, ...); |
| 212 | 211 |
| 213 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 212 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
| 214 | 213 |
| 215 // Code generation passes. Returns true if code generation should | 214 // Code generation passes. Returns true if code generation should |
| 216 // continue. | 215 // continue. |
| 217 bool GeneratePrologue(); | 216 bool GeneratePrologue(); |
| 218 bool GenerateBody(); | 217 bool GenerateBody(); |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 LCodeGen* codegen_; | 503 LCodeGen* codegen_; |
| 505 Label entry_; | 504 Label entry_; |
| 506 Label exit_; | 505 Label exit_; |
| 507 Label* external_exit_; | 506 Label* external_exit_; |
| 508 int instruction_index_; | 507 int instruction_index_; |
| 509 }; | 508 }; |
| 510 | 509 |
| 511 } } // namespace v8::internal | 510 } } // namespace v8::internal |
| 512 | 511 |
| 513 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 512 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
| OLD | NEW |