| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
| 6 | 6 |
| 7 #include "src/compiler/code-generator-impl.h" | 7 #include "src/compiler/code-generator-impl.h" |
| 8 #include "src/compiler/linkage.h" | 8 #include "src/compiler/linkage.h" |
| 9 #include "src/compiler/pipeline.h" | 9 #include "src/compiler/pipeline.h" |
| 10 #include "src/snapshot/serialize.h" // TODO(turbofan): RootIndexMap | 10 #include "src/snapshot/serialize.h" // TODO(turbofan): RootIndexMap |
| (...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 } else { | 647 } else { |
| 648 CHECK(false); | 648 CHECK(false); |
| 649 } | 649 } |
| 650 } | 650 } |
| 651 | 651 |
| 652 | 652 |
| 653 void CodeGenerator::MarkLazyDeoptSite() { | 653 void CodeGenerator::MarkLazyDeoptSite() { |
| 654 last_lazy_deopt_pc_ = masm()->pc_offset(); | 654 last_lazy_deopt_pc_ = masm()->pc_offset(); |
| 655 } | 655 } |
| 656 | 656 |
| 657 #if !V8_TURBOFAN_BACKEND | |
| 658 | |
| 659 void CodeGenerator::AssembleArchInstruction(Instruction* instr) { | |
| 660 UNIMPLEMENTED(); | |
| 661 } | |
| 662 | |
| 663 | |
| 664 void CodeGenerator::AssembleArchBranch(Instruction* instr, | |
| 665 BranchInfo* branch) { | |
| 666 UNIMPLEMENTED(); | |
| 667 } | |
| 668 | |
| 669 | |
| 670 void CodeGenerator::AssembleArchBoolean(Instruction* instr, | |
| 671 FlagsCondition condition) { | |
| 672 UNIMPLEMENTED(); | |
| 673 } | |
| 674 | |
| 675 | |
| 676 void CodeGenerator::AssembleArchJump(RpoNumber target) { UNIMPLEMENTED(); } | |
| 677 | |
| 678 | |
| 679 void CodeGenerator::AssembleDeoptimizerCall( | |
| 680 int deoptimization_id, Deoptimizer::BailoutType bailout_type) { | |
| 681 UNIMPLEMENTED(); | |
| 682 } | |
| 683 | |
| 684 | |
| 685 void CodeGenerator::AssemblePrologue() { UNIMPLEMENTED(); } | |
| 686 | |
| 687 | |
| 688 void CodeGenerator::AssembleReturn() { UNIMPLEMENTED(); } | |
| 689 | |
| 690 | |
| 691 void CodeGenerator::AssembleMove(InstructionOperand* source, | |
| 692 InstructionOperand* destination) { | |
| 693 UNIMPLEMENTED(); | |
| 694 } | |
| 695 | |
| 696 | |
| 697 void CodeGenerator::AssembleSwap(InstructionOperand* source, | |
| 698 InstructionOperand* destination) { | |
| 699 UNIMPLEMENTED(); | |
| 700 } | |
| 701 | |
| 702 | |
| 703 void CodeGenerator::AddNopForSmiCodeInlining() { UNIMPLEMENTED(); } | |
| 704 | |
| 705 | |
| 706 void CodeGenerator::AssembleJumpTable(Label** targets, size_t target_count) { | |
| 707 UNIMPLEMENTED(); | |
| 708 } | |
| 709 | |
| 710 #endif // !V8_TURBOFAN_BACKEND | |
| 711 | |
| 712 | 657 |
| 713 OutOfLineCode::OutOfLineCode(CodeGenerator* gen) | 658 OutOfLineCode::OutOfLineCode(CodeGenerator* gen) |
| 714 : masm_(gen->masm()), next_(gen->ools_) { | 659 : masm_(gen->masm()), next_(gen->ools_) { |
| 715 gen->ools_ = this; | 660 gen->ools_ = this; |
| 716 } | 661 } |
| 717 | 662 |
| 718 | 663 |
| 719 OutOfLineCode::~OutOfLineCode() {} | 664 OutOfLineCode::~OutOfLineCode() {} |
| 720 | 665 |
| 721 } // namespace compiler | 666 } // namespace compiler |
| 722 } // namespace internal | 667 } // namespace internal |
| 723 } // namespace v8 | 668 } // namespace v8 |
| OLD | NEW |