| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/compiler/code-generator-impl.h" | 6 #include "src/compiler/code-generator-impl.h" |
| 7 #include "src/compiler/gap-resolver.h" | 7 #include "src/compiler/gap-resolver.h" |
| 8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
| 9 #include "src/mips/macro-assembler-mips.h" | 9 #include "src/mips/macro-assembler-mips.h" |
| 10 #include "src/scopes.h" | 10 #include "src/scopes.h" |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 if (!branch->fallthru) __ Branch(flabel); // no fallthru to flabel. | 796 if (!branch->fallthru) __ Branch(flabel); // no fallthru to flabel. |
| 797 | 797 |
| 798 } else { | 798 } else { |
| 799 PrintF("AssembleArchBranch Unimplemented arch_opcode: %d\n", | 799 PrintF("AssembleArchBranch Unimplemented arch_opcode: %d\n", |
| 800 instr->arch_opcode()); | 800 instr->arch_opcode()); |
| 801 UNIMPLEMENTED(); | 801 UNIMPLEMENTED(); |
| 802 } | 802 } |
| 803 } | 803 } |
| 804 | 804 |
| 805 | 805 |
| 806 void CodeGenerator::AssembleArchJump(BasicBlock::RpoNumber target) { | 806 void CodeGenerator::AssembleArchJump(RpoNumber target) { |
| 807 if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target)); | 807 if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target)); |
| 808 } | 808 } |
| 809 | 809 |
| 810 | 810 |
| 811 // Assembles boolean materializations after an instruction. | 811 // Assembles boolean materializations after an instruction. |
| 812 void CodeGenerator::AssembleArchBoolean(Instruction* instr, | 812 void CodeGenerator::AssembleArchBoolean(Instruction* instr, |
| 813 FlagsCondition condition) { | 813 FlagsCondition condition) { |
| 814 MipsOperandConverter i(this, instr); | 814 MipsOperandConverter i(this, instr); |
| 815 Label done; | 815 Label done; |
| 816 | 816 |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 } | 1198 } |
| 1199 } | 1199 } |
| 1200 MarkLazyDeoptSite(); | 1200 MarkLazyDeoptSite(); |
| 1201 } | 1201 } |
| 1202 | 1202 |
| 1203 #undef __ | 1203 #undef __ |
| 1204 | 1204 |
| 1205 } // namespace compiler | 1205 } // namespace compiler |
| 1206 } // namespace internal | 1206 } // namespace internal |
| 1207 } // namespace v8 | 1207 } // namespace v8 |
| OLD | NEW |