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 180 matching lines...) Loading... |
191 Register input, | 191 Register input, |
192 Register temporary, | 192 Register temporary, |
193 Register temporary2); | 193 Register temporary2); |
194 | 194 |
195 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 195 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
196 | 196 |
197 void Abort(BailoutReason reason); | 197 void Abort(BailoutReason reason); |
198 | 198 |
199 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 199 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
200 | 200 |
| 201 void SaveCallerDoubles(); |
| 202 void RestoreCallerDoubles(); |
| 203 |
201 // Code generation passes. Returns true if code generation should | 204 // Code generation passes. Returns true if code generation should |
202 // continue. | 205 // continue. |
203 void GenerateBodyInstructionPre(LInstruction* instr) V8_OVERRIDE; | 206 void GenerateBodyInstructionPre(LInstruction* instr) V8_OVERRIDE; |
204 void GenerateBodyInstructionPost(LInstruction* instr) V8_OVERRIDE; | 207 void GenerateBodyInstructionPost(LInstruction* instr) V8_OVERRIDE; |
205 bool GeneratePrologue(); | 208 bool GeneratePrologue(); |
206 bool GenerateDeferredCode(); | 209 bool GenerateDeferredCode(); |
207 bool GenerateJumpTable(); | 210 bool GenerateJumpTable(); |
208 bool GenerateSafepointTable(); | 211 bool GenerateSafepointTable(); |
209 | 212 |
210 // Generates the custom OSR entrypoint and sets the osr_pc_offset. | 213 // Generates the custom OSR entrypoint and sets the osr_pc_offset. |
(...skipping 324 matching lines...) Loading... |
535 Label exit_; | 538 Label exit_; |
536 Label* external_exit_; | 539 Label* external_exit_; |
537 Label done_; | 540 Label done_; |
538 int instruction_index_; | 541 int instruction_index_; |
539 LCodeGen::X87Stack x87_stack_; | 542 LCodeGen::X87Stack x87_stack_; |
540 }; | 543 }; |
541 | 544 |
542 } } // namespace v8::internal | 545 } } // namespace v8::internal |
543 | 546 |
544 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 547 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |