| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 int GetNextEmittedBlock(int block); | 163 int GetNextEmittedBlock(int block); |
| 164 | 164 |
| 165 void EmitClassOfTest(Label* if_true, | 165 void EmitClassOfTest(Label* if_true, |
| 166 Label* if_false, | 166 Label* if_false, |
| 167 Handle<String> class_name, | 167 Handle<String> class_name, |
| 168 Register input, | 168 Register input, |
| 169 Register temporary, | 169 Register temporary, |
| 170 Register scratch); | 170 Register scratch); |
| 171 | 171 |
| 172 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 172 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| 173 int GetParameterCount() const { return info()->num_parameters(); } | |
| 174 | 173 |
| 175 void Abort(const char* reason); | 174 void Abort(const char* reason); |
| 176 void Comment(const char* format, ...); | 175 void Comment(const char* format, ...); |
| 177 | 176 |
| 178 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 177 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
| 179 | 178 |
| 180 // Code generation passes. Returns true if code generation should | 179 // Code generation passes. Returns true if code generation should |
| 181 // continue. | 180 // continue. |
| 182 bool GeneratePrologue(); | 181 bool GeneratePrologue(); |
| 183 bool GenerateBody(); | 182 bool GenerateBody(); |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 LCodeGen* codegen_; | 440 LCodeGen* codegen_; |
| 442 Label entry_; | 441 Label entry_; |
| 443 Label exit_; | 442 Label exit_; |
| 444 Label* external_exit_; | 443 Label* external_exit_; |
| 445 int instruction_index_; | 444 int instruction_index_; |
| 446 }; | 445 }; |
| 447 | 446 |
| 448 } } // namespace v8::internal | 447 } } // namespace v8::internal |
| 449 | 448 |
| 450 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 449 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |