| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 int GetNextEmittedBlock(int block); | 183 int GetNextEmittedBlock(int block); |
| 184 | 184 |
| 185 void EmitClassOfTest(Label* if_true, | 185 void EmitClassOfTest(Label* if_true, |
| 186 Label* if_false, | 186 Label* if_false, |
| 187 Handle<String> class_name, | 187 Handle<String> class_name, |
| 188 Register input, | 188 Register input, |
| 189 Register temporary, | 189 Register temporary, |
| 190 Register temporary2); | 190 Register temporary2); |
| 191 | 191 |
| 192 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 192 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| 193 int GetParameterCount() const { return info()->num_parameters(); } | |
| 194 | 193 |
| 195 void Abort(const char* reason); | 194 void Abort(const char* reason); |
| 196 void Comment(const char* format, ...); | 195 void Comment(const char* format, ...); |
| 197 | 196 |
| 198 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 197 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
| 199 | 198 |
| 200 // Code generation passes. Returns true if code generation should | 199 // Code generation passes. Returns true if code generation should |
| 201 // continue. | 200 // continue. |
| 202 bool GeneratePrologue(); | 201 bool GeneratePrologue(); |
| 203 bool GenerateBody(); | 202 bool GenerateBody(); |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 LCodeGen* codegen_; | 465 LCodeGen* codegen_; |
| 467 Label entry_; | 466 Label entry_; |
| 468 Label exit_; | 467 Label exit_; |
| 469 Label* external_exit_; | 468 Label* external_exit_; |
| 470 int instruction_index_; | 469 int instruction_index_; |
| 471 }; | 470 }; |
| 472 | 471 |
| 473 } } // namespace v8::internal | 472 } } // namespace v8::internal |
| 474 | 473 |
| 475 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 474 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |