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

Side by Side Diff: src/compiler/x64/code-generator-x64.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/verifier.cc ('k') | test/cctest/compiler/test-instruction.cc » ('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/scopes.h" 10 #include "src/scopes.h"
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | test/cctest/compiler/test-instruction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698