| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 186 |
| 187 void Abort(BailoutReason reason); | 187 void Abort(BailoutReason reason); |
| 188 | 188 |
| 189 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } | 189 void AddDeferredCode(LDeferredCode* code) { deferred_.Add(code, zone()); } |
| 190 | 190 |
| 191 void SaveCallerDoubles(); | 191 void SaveCallerDoubles(); |
| 192 void RestoreCallerDoubles(); | 192 void RestoreCallerDoubles(); |
| 193 | 193 |
| 194 // Code generation passes. Returns true if code generation should | 194 // Code generation passes. Returns true if code generation should |
| 195 // continue. | 195 // continue. |
| 196 void GenerateBodyInstructionPre(LInstruction* instr) V8_OVERRIDE; |
| 196 bool GeneratePrologue(); | 197 bool GeneratePrologue(); |
| 197 bool GenerateDeferredCode(); | 198 bool GenerateDeferredCode(); |
| 198 bool GenerateDeoptJumpTable(); | 199 bool GenerateDeoptJumpTable(); |
| 199 bool GenerateSafepointTable(); | 200 bool GenerateSafepointTable(); |
| 200 | 201 |
| 201 // Generates the custom OSR entrypoint and sets the osr_pc_offset. | 202 // Generates the custom OSR entrypoint and sets the osr_pc_offset. |
| 202 void GenerateOsrPrologue(); | 203 void GenerateOsrPrologue(); |
| 203 | 204 |
| 204 enum SafepointMode { | 205 enum SafepointMode { |
| 205 RECORD_SIMPLE_SAFEPOINT, | 206 RECORD_SIMPLE_SAFEPOINT, |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 LCodeGen* codegen_; | 500 LCodeGen* codegen_; |
| 500 Label entry_; | 501 Label entry_; |
| 501 Label exit_; | 502 Label exit_; |
| 502 Label* external_exit_; | 503 Label* external_exit_; |
| 503 int instruction_index_; | 504 int instruction_index_; |
| 504 }; | 505 }; |
| 505 | 506 |
| 506 } } // namespace v8::internal | 507 } } // namespace v8::internal |
| 507 | 508 |
| 508 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 509 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |