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

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

Issue 1375253002: [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/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/compiler/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 break; 737 break;
738 case kArchLookupSwitch: 738 case kArchLookupSwitch:
739 AssembleArchLookupSwitch(instr); 739 AssembleArchLookupSwitch(instr);
740 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 740 DCHECK_EQ(LeaveRC, i.OutputRCBit());
741 break; 741 break;
742 case kArchTableSwitch: 742 case kArchTableSwitch:
743 AssembleArchTableSwitch(instr); 743 AssembleArchTableSwitch(instr);
744 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 744 DCHECK_EQ(LeaveRC, i.OutputRCBit());
745 break; 745 break;
746 case kArchNop: 746 case kArchNop:
747 case kArchThrowTerminator:
747 // don't emit code for nops. 748 // don't emit code for nops.
748 DCHECK_EQ(LeaveRC, i.OutputRCBit()); 749 DCHECK_EQ(LeaveRC, i.OutputRCBit());
749 break; 750 break;
750 case kArchDeoptimize: { 751 case kArchDeoptimize: {
751 int deopt_state_id = 752 int deopt_state_id =
752 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 753 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
753 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); 754 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER);
754 break; 755 break;
755 } 756 }
756 case kArchRet: 757 case kArchRet:
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 padding_size -= v8::internal::Assembler::kInstrSize; 1760 padding_size -= v8::internal::Assembler::kInstrSize;
1760 } 1761 }
1761 } 1762 }
1762 } 1763 }
1763 1764
1764 #undef __ 1765 #undef __
1765 1766
1766 } // namespace compiler 1767 } // namespace compiler
1767 } // namespace internal 1768 } // namespace internal
1768 } // namespace v8 1769 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698