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 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 | 910 |
911 if (!branch->fallthru) __ Branch(flabel); // no fallthru to flabel. | 911 if (!branch->fallthru) __ Branch(flabel); // no fallthru to flabel. |
912 } else { | 912 } else { |
913 PrintF("AssembleArchBranch Unimplemented arch_opcode: %d\n", | 913 PrintF("AssembleArchBranch Unimplemented arch_opcode: %d\n", |
914 instr->arch_opcode()); | 914 instr->arch_opcode()); |
915 UNIMPLEMENTED(); | 915 UNIMPLEMENTED(); |
916 } | 916 } |
917 } | 917 } |
918 | 918 |
919 | 919 |
920 void CodeGenerator::AssembleArchJump(BasicBlock::RpoNumber target) { | 920 void CodeGenerator::AssembleArchJump(RpoNumber target) { |
921 if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target)); | 921 if (!IsNextInAssemblyOrder(target)) __ Branch(GetLabel(target)); |
922 } | 922 } |
923 | 923 |
924 | 924 |
925 // Assembles boolean materializations after an instruction. | 925 // Assembles boolean materializations after an instruction. |
926 void CodeGenerator::AssembleArchBoolean(Instruction* instr, | 926 void CodeGenerator::AssembleArchBoolean(Instruction* instr, |
927 FlagsCondition condition) { | 927 FlagsCondition condition) { |
928 MipsOperandConverter i(this, instr); | 928 MipsOperandConverter i(this, instr); |
929 Label done; | 929 Label done; |
930 | 930 |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1358 } | 1358 } |
1359 } | 1359 } |
1360 MarkLazyDeoptSite(); | 1360 MarkLazyDeoptSite(); |
1361 } | 1361 } |
1362 | 1362 |
1363 #undef __ | 1363 #undef __ |
1364 | 1364 |
1365 } // namespace compiler | 1365 } // namespace compiler |
1366 } // namespace internal | 1366 } // namespace internal |
1367 } // namespace v8 | 1367 } // namespace v8 |
OLD | NEW |