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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 void Abort(BailoutReason reason); | 152 void Abort(BailoutReason reason); |
153 | 153 |
154 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 154 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
155 | 155 |
156 | 156 |
157 void SaveCallerDoubles(); | 157 void SaveCallerDoubles(); |
158 void RestoreCallerDoubles(); | 158 void RestoreCallerDoubles(); |
159 | 159 |
160 // Code generation passes. Returns true if code generation should | 160 // Code generation passes. Returns true if code generation should |
161 // continue. | 161 // continue. |
| 162 void GenerateBodyInstructionPost(LInstruction* instr) V8_OVERRIDE; |
162 bool GeneratePrologue(); | 163 bool GeneratePrologue(); |
163 bool GenerateDeferredCode(); | 164 bool GenerateDeferredCode(); |
164 bool GenerateJumpTable(); | 165 bool GenerateJumpTable(); |
165 bool GenerateSafepointTable(); | 166 bool GenerateSafepointTable(); |
166 | 167 |
167 // Generates the custom OSR entrypoint and sets the osr_pc_offset. | 168 // Generates the custom OSR entrypoint and sets the osr_pc_offset. |
168 void GenerateOsrPrologue(); | 169 void GenerateOsrPrologue(); |
169 | 170 |
170 enum SafepointMode { | 171 enum SafepointMode { |
171 RECORD_SIMPLE_SAFEPOINT, | 172 RECORD_SIMPLE_SAFEPOINT, |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 Label entry_; | 412 Label entry_; |
412 Label exit_; | 413 Label exit_; |
413 Label done_; | 414 Label done_; |
414 Label* external_exit_; | 415 Label* external_exit_; |
415 int instruction_index_; | 416 int instruction_index_; |
416 }; | 417 }; |
417 | 418 |
418 } } // namespace v8::internal | 419 } } // namespace v8::internal |
419 | 420 |
420 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 421 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |