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/gap-resolver.h" | 8 #include "src/compiler/gap-resolver.h" |
9 #include "src/compiler/node-matchers.h" | 9 #include "src/compiler/node-matchers.h" |
10 #include "src/scopes.h" | 10 #include "src/scopes.h" |
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 __ j(overflow, tlabel); | 1059 __ j(overflow, tlabel); |
1060 break; | 1060 break; |
1061 case kNotOverflow: | 1061 case kNotOverflow: |
1062 __ j(no_overflow, tlabel); | 1062 __ j(no_overflow, tlabel); |
1063 break; | 1063 break; |
1064 } | 1064 } |
1065 if (!branch->fallthru) __ jmp(flabel, flabel_distance); | 1065 if (!branch->fallthru) __ jmp(flabel, flabel_distance); |
1066 } | 1066 } |
1067 | 1067 |
1068 | 1068 |
1069 void CodeGenerator::AssembleArchJump(BasicBlock::RpoNumber target) { | 1069 void CodeGenerator::AssembleArchJump(RpoNumber target) { |
1070 if (!IsNextInAssemblyOrder(target)) __ jmp(GetLabel(target)); | 1070 if (!IsNextInAssemblyOrder(target)) __ jmp(GetLabel(target)); |
1071 } | 1071 } |
1072 | 1072 |
1073 | 1073 |
1074 // Assembles boolean materializations after this instruction. | 1074 // Assembles boolean materializations after this instruction. |
1075 void CodeGenerator::AssembleArchBoolean(Instruction* instr, | 1075 void CodeGenerator::AssembleArchBoolean(Instruction* instr, |
1076 FlagsCondition condition) { | 1076 FlagsCondition condition) { |
1077 X64OperandConverter i(this, instr); | 1077 X64OperandConverter i(this, instr); |
1078 Label done; | 1078 Label done; |
1079 | 1079 |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1435 } | 1435 } |
1436 } | 1436 } |
1437 MarkLazyDeoptSite(); | 1437 MarkLazyDeoptSite(); |
1438 } | 1438 } |
1439 | 1439 |
1440 #undef __ | 1440 #undef __ |
1441 | 1441 |
1442 } // namespace internal | 1442 } // namespace internal |
1443 } // namespace compiler | 1443 } // namespace compiler |
1444 } // namespace v8 | 1444 } // namespace v8 |
OLD | NEW |