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/ppc/code-generator-ppc.cc

Issue 1526913003: Reland "[turbofan] Instruction scheduler for Turbofan." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
OLDNEW
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 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 break; 748 break;
749 case kArchLookupSwitch: 749 case kArchLookupSwitch:
750 AssembleArchLookupSwitch(instr); 750 AssembleArchLookupSwitch(instr);
751 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 751 DCHECK_EQ(LeaveRC, i.OutputRCBit());
752 break; 752 break;
753 case kArchTableSwitch: 753 case kArchTableSwitch:
754 AssembleArchTableSwitch(instr); 754 AssembleArchTableSwitch(instr);
755 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 755 DCHECK_EQ(LeaveRC, i.OutputRCBit());
756 break; 756 break;
757 case kArchNop: 757 case kArchNop:
758 case kArchThrowTerminator:
758 // don't emit code for nops. 759 // don't emit code for nops.
759 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 760 DCHECK_EQ(LeaveRC, i.OutputRCBit());
760 break; 761 break;
761 case kArchDeoptimize: { 762 case kArchDeoptimize: {
762 int deopt_state_id = 763 int deopt_state_id =
763 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 764 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
764 Deoptimizer::BailoutType bailout_type = 765 Deoptimizer::BailoutType bailout_type =
765 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 766 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
766 AssembleDeoptimizerCall(deopt_state_id, bailout_type); 767 AssembleDeoptimizerCall(deopt_state_id, bailout_type);
767 break; 768 break;
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1805 padding_size -= v8::internal::Assembler::kInstrSize; 1806 padding_size -= v8::internal::Assembler::kInstrSize;
1806 } 1807 }
1807 } 1808 }
1808 } 1809 }
1809 1810
1810 #undef __ 1811 #undef __
1811 1812
1812 } // namespace compiler 1813 } // namespace compiler
1813 } // namespace internal 1814 } // namespace internal
1814 } // namespace v8 1815 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips64/instruction-scheduler-mips64.cc ('k') | src/compiler/ppc/instruction-scheduler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698