| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 int* object_index_pointer, | 296 int* object_index_pointer, |
| 297 int* dematerialized_index_pointer); | 297 int* dematerialized_index_pointer); |
| 298 | 298 |
| 299 // Code generation steps. Returns true if code generation should continue. | 299 // Code generation steps. Returns true if code generation should continue. |
| 300 bool GeneratePrologue(); | 300 bool GeneratePrologue(); |
| 301 bool GenerateBody(); | 301 bool GenerateBody(); |
| 302 bool GenerateDeferredCode(); | 302 bool GenerateDeferredCode(); |
| 303 bool GenerateDeoptJumpTable(); | 303 bool GenerateDeoptJumpTable(); |
| 304 bool GenerateSafepointTable(); | 304 bool GenerateSafepointTable(); |
| 305 | 305 |
| 306 // Generates the custom OSR entrypoint and sets the osr_pc_offset. |
| 307 void GenerateOsrPrologue(); |
| 308 |
| 306 enum SafepointMode { | 309 enum SafepointMode { |
| 307 RECORD_SIMPLE_SAFEPOINT, | 310 RECORD_SIMPLE_SAFEPOINT, |
| 308 RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS | 311 RECORD_SAFEPOINT_WITH_REGISTERS_AND_NO_ARGUMENTS |
| 309 }; | 312 }; |
| 310 | 313 |
| 311 void CallCode(Handle<Code> code, | 314 void CallCode(Handle<Code> code, |
| 312 RelocInfo::Mode mode, | 315 RelocInfo::Mode mode, |
| 313 LInstruction* instr); | 316 LInstruction* instr); |
| 314 | 317 |
| 315 void CallCodeGeneric(Handle<Code> code, | 318 void CallCodeGeneric(Handle<Code> code, |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 | 494 |
| 492 protected: | 495 protected: |
| 493 MacroAssembler* masm() const { return codegen_->masm(); } | 496 MacroAssembler* masm() const { return codegen_->masm(); } |
| 494 | 497 |
| 495 LCodeGen* codegen_; | 498 LCodeGen* codegen_; |
| 496 }; | 499 }; |
| 497 | 500 |
| 498 } } // namespace v8::internal | 501 } } // namespace v8::internal |
| 499 | 502 |
| 500 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ | 503 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ |
| OLD | NEW |