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