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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 Register input, | 179 Register input, |
180 Register temporary, | 180 Register temporary, |
181 Register temporary2); | 181 Register temporary2); |
182 | 182 |
183 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 183 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
184 | 184 |
185 void Abort(BailoutReason reason); | 185 void Abort(BailoutReason reason); |
186 | 186 |
187 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 187 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
188 | 188 |
| 189 void SaveCallerDoubles(); |
| 190 void RestoreCallerDoubles(); |
| 191 |
189 // Code generation passes. Returns true if code generation should | 192 // Code generation passes. Returns true if code generation should |
190 // continue. | 193 // continue. |
191 bool GeneratePrologue(); | 194 bool GeneratePrologue(); |
192 bool GenerateDeferredCode(); | 195 bool GenerateDeferredCode(); |
193 bool GenerateDeoptJumpTable(); | 196 bool GenerateDeoptJumpTable(); |
194 bool GenerateSafepointTable(); | 197 bool GenerateSafepointTable(); |
195 | 198 |
196 // Generates the custom OSR entrypoint and sets the osr_pc_offset. | 199 // Generates the custom OSR entrypoint and sets the osr_pc_offset. |
197 void GenerateOsrPrologue(); | 200 void GenerateOsrPrologue(); |
198 | 201 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 LCodeGen* codegen_; | 461 LCodeGen* codegen_; |
459 Label entry_; | 462 Label entry_; |
460 Label exit_; | 463 Label exit_; |
461 Label* external_exit_; | 464 Label* external_exit_; |
462 int instruction_index_; | 465 int instruction_index_; |
463 }; | 466 }; |
464 | 467 |
465 } } // namespace v8::internal | 468 } } // namespace v8::internal |
466 | 469 |
467 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 470 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |