Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: src/compiler/ia32/code-generator-ia32.cc

Issue 951553005: [turbofan] remove dependence of InstructionBlock on BasicBlock (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/graph-visualizer.cc ('k') | src/compiler/instruction.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/graph-visualizer.cc ('k') | src/compiler/instruction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698