| 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/ia32/assembler-ia32.h" | 10 #include "src/ia32/assembler-ia32.h" |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 break; | 754 break; |
| 755 case kNotOverflow: | 755 case kNotOverflow: |
| 756 __ j(no_overflow, tlabel); | 756 __ j(no_overflow, tlabel); |
| 757 break; | 757 break; |
| 758 } | 758 } |
| 759 // Add a jump if not falling through to the next block. | 759 // Add a jump if not falling through to the next block. |
| 760 if (!branch->fallthru) __ jmp(flabel); | 760 if (!branch->fallthru) __ jmp(flabel); |
| 761 } | 761 } |
| 762 | 762 |
| 763 | 763 |
| 764 void CodeGenerator::AssembleArchJump(BasicBlock::RpoNumber target) { | 764 void CodeGenerator::AssembleArchJump(RpoNumber target) { |
| 765 if (!IsNextInAssemblyOrder(target)) __ jmp(GetLabel(target)); | 765 if (!IsNextInAssemblyOrder(target)) __ jmp(GetLabel(target)); |
| 766 } | 766 } |
| 767 | 767 |
| 768 | 768 |
| 769 // Assembles boolean materializations after an instruction. | 769 // Assembles boolean materializations after an instruction. |
| 770 void CodeGenerator::AssembleArchBoolean(Instruction* instr, | 770 void CodeGenerator::AssembleArchBoolean(Instruction* instr, |
| 771 FlagsCondition condition) { | 771 FlagsCondition condition) { |
| 772 IA32OperandConverter i(this, instr); | 772 IA32OperandConverter i(this, instr); |
| 773 Label done; | 773 Label done; |
| 774 | 774 |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 } | 1272 } |
| 1273 } | 1273 } |
| 1274 MarkLazyDeoptSite(); | 1274 MarkLazyDeoptSite(); |
| 1275 } | 1275 } |
| 1276 | 1276 |
| 1277 #undef __ | 1277 #undef __ |
| 1278 | 1278 |
| 1279 } // namespace compiler | 1279 } // namespace compiler |
| 1280 } // namespace internal | 1280 } // namespace internal |
| 1281 } // namespace v8 | 1281 } // namespace v8 |
| OLD | NEW |