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

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

Issue 1375253002: [WIP][turbofan] Instruction scheduler for Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase the patch 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
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/mips/instruction-scheduler-mips.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 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/ast/scopes.h" 5 #include "src/ast/scopes.h"
6 #include "src/compiler/code-generator.h" 6 #include "src/compiler/code-generator.h"
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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 case kArchJmp: 577 case kArchJmp:
578 AssembleArchJump(i.InputRpo(0)); 578 AssembleArchJump(i.InputRpo(0));
579 break; 579 break;
580 case kArchLookupSwitch: 580 case kArchLookupSwitch:
581 AssembleArchLookupSwitch(instr); 581 AssembleArchLookupSwitch(instr);
582 break; 582 break;
583 case kArchTableSwitch: 583 case kArchTableSwitch:
584 AssembleArchTableSwitch(instr); 584 AssembleArchTableSwitch(instr);
585 break; 585 break;
586 case kArchNop: 586 case kArchNop:
587 case kArchThrowTerminator:
587 // don't emit code for nops. 588 // don't emit code for nops.
588 break; 589 break;
589 case kArchDeoptimize: { 590 case kArchDeoptimize: {
590 int deopt_state_id = 591 int deopt_state_id =
591 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 592 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
592 Deoptimizer::BailoutType bailout_type = 593 Deoptimizer::BailoutType bailout_type =
593 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 594 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
594 AssembleDeoptimizerCall(deopt_state_id, bailout_type); 595 AssembleDeoptimizerCall(deopt_state_id, bailout_type);
595 break; 596 break;
596 } 597 }
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1714 padding_size -= v8::internal::Assembler::kInstrSize; 1715 padding_size -= v8::internal::Assembler::kInstrSize;
1715 } 1716 }
1716 } 1717 }
1717 } 1718 }
1718 1719
1719 #undef __ 1720 #undef __
1720 1721
1721 } // namespace compiler 1722 } // namespace compiler
1722 } // namespace internal 1723 } // namespace internal
1723 } // namespace v8 1724 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-selector.cc ('k') | src/compiler/mips/instruction-scheduler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698