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

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

Issue 1526913002: Revert of [WIP][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:
759 // don't emit code for nops. 758 // don't emit code for nops.
760 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 759 DCHECK_EQ(LeaveRC, i.OutputRCBit());
761 break; 760 break;
762 case kArchDeoptimize: { 761 case kArchDeoptimize: {
763 int deopt_state_id = 762 int deopt_state_id =
764 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 763 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
765 Deoptimizer::BailoutType bailout_type = 764 Deoptimizer::BailoutType bailout_type =
766 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 765 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
767 AssembleDeoptimizerCall(deopt_state_id, bailout_type); 766 AssembleDeoptimizerCall(deopt_state_id, bailout_type);
768 break; 767 break;
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 padding_size -= v8::internal::Assembler::kInstrSize; 1805 padding_size -= v8::internal::Assembler::kInstrSize;
1807 } 1806 }
1808 } 1807 }
1809 } 1808 }
1810 1809
1811 #undef __ 1810 #undef __
1812 1811
1813 } // namespace compiler 1812 } // namespace compiler
1814 } // namespace internal 1813 } // namespace internal
1815 } // namespace v8 1814 } // 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