| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 Register temporary, | 175 Register temporary, |
| 176 Register scratch); | 176 Register scratch); |
| 177 | 177 |
| 178 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } | 178 int GetStackSlotCount() const { return chunk()->spill_slot_count(); } |
| 179 | 179 |
| 180 void Abort(BailoutReason reason); | 180 void Abort(BailoutReason reason); |
| 181 void FPRINTF_CHECKING Comment(const char* format, ...); | 181 void FPRINTF_CHECKING Comment(const char* format, ...); |
| 182 | 182 |
| 183 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 183 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
| 184 | 184 |
| 185 |
| 186 void SaveCallerDoubles(); |
| 187 void RestoreCallerDoubles(); |
| 188 |
| 185 // Code generation passes. Returns true if code generation should | 189 // Code generation passes. Returns true if code generation should |
| 186 // continue. | 190 // continue. |
| 187 bool GeneratePrologue(); | 191 bool GeneratePrologue(); |
| 188 bool GenerateBody(); | 192 bool GenerateBody(); |
| 189 bool GenerateDeferredCode(); | 193 bool GenerateDeferredCode(); |
| 190 bool GenerateJumpTable(); | 194 bool GenerateJumpTable(); |
| 191 bool GenerateSafepointTable(); | 195 bool GenerateSafepointTable(); |
| 192 | 196 |
| 193 // Generates the custom OSR entrypoint and sets the osr_pc_offset. | 197 // Generates the custom OSR entrypoint and sets the osr_pc_offset. |
| 194 void GenerateOsrPrologue(); | 198 void GenerateOsrPrologue(); |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 Label entry_; | 445 Label entry_; |
| 442 Label exit_; | 446 Label exit_; |
| 443 Label done_; | 447 Label done_; |
| 444 Label* external_exit_; | 448 Label* external_exit_; |
| 445 int instruction_index_; | 449 int instruction_index_; |
| 446 }; | 450 }; |
| 447 | 451 |
| 448 } } // namespace v8::internal | 452 } } // namespace v8::internal |
| 449 | 453 |
| 450 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 454 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |