| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 int GetNextEmittedBlock(int block); | 140 int GetNextEmittedBlock(int block); |
| 141 LInstruction* GetNextInstruction(); | 141 LInstruction* GetNextInstruction(); |
| 142 | 142 |
| 143 void EmitClassOfTest(Label* if_true, | 143 void EmitClassOfTest(Label* if_true, |
| 144 Label* if_false, | 144 Label* if_false, |
| 145 Handle<String> class_name, | 145 Handle<String> class_name, |
| 146 Register input, | 146 Register input, |
| 147 Register temporary, | 147 Register temporary, |
| 148 Register temporary2); | 148 Register temporary2); |
| 149 | 149 |
| 150 int StackSlotCount() const { return chunk()->spill_slot_count(); } | 150 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| 151 int ParameterCount() const { return scope()->num_parameters(); } | 151 int GetParameterCount() const { return scope()->num_parameters(); } |
| 152 | 152 |
| 153 void Abort(const char* format, ...); | 153 void Abort(const char* format, ...); |
| 154 void Comment(const char* format, ...); | 154 void Comment(const char* format, ...); |
| 155 | 155 |
| 156 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } | 156 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code); } |
| 157 | 157 |
| 158 // Code generation passes. Returns true if code generation should | 158 // Code generation passes. Returns true if code generation should |
| 159 // continue. | 159 // continue. |
| 160 bool GeneratePrologue(); | 160 bool GeneratePrologue(); |
| 161 bool GenerateBody(); | 161 bool GenerateBody(); |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 private: | 361 private: |
| 362 LCodeGen* codegen_; | 362 LCodeGen* codegen_; |
| 363 Label entry_; | 363 Label entry_; |
| 364 Label exit_; | 364 Label exit_; |
| 365 Label* external_exit_; | 365 Label* external_exit_; |
| 366 }; | 366 }; |
| 367 | 367 |
| 368 } } // namespace v8::internal | 368 } } // namespace v8::internal |
| 369 | 369 |
| 370 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 370 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |