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

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: Addressed issues and add support for a few other platforms. 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 #include "src/compiler/code-generator-impl.h" 6 #include "src/compiler/code-generator-impl.h"
7 #include "src/compiler/gap-resolver.h" 7 #include "src/compiler/gap-resolver.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/osr.h" 9 #include "src/compiler/osr.h"
10 #include "src/mips/macro-assembler-mips.h" 10 #include "src/mips/macro-assembler-mips.h"
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 case kArchJmp: 560 case kArchJmp:
561 AssembleArchJump(i.InputRpo(0)); 561 AssembleArchJump(i.InputRpo(0));
562 break; 562 break;
563 case kArchLookupSwitch: 563 case kArchLookupSwitch:
564 AssembleArchLookupSwitch(instr); 564 AssembleArchLookupSwitch(instr);
565 break; 565 break;
566 case kArchTableSwitch: 566 case kArchTableSwitch:
567 AssembleArchTableSwitch(instr); 567 AssembleArchTableSwitch(instr);
568 break; 568 break;
569 case kArchNop: 569 case kArchNop:
570 case kArchThrowTerminator:
570 // don't emit code for nops. 571 // don't emit code for nops.
571 break; 572 break;
572 case kArchDeoptimize: { 573 case kArchDeoptimize: {
573 int deopt_state_id = 574 int deopt_state_id =
574 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 575 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
575 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); 576 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER);
576 break; 577 break;
577 } 578 }
578 case kArchRet: 579 case kArchRet:
579 AssembleReturn(); 580 AssembleReturn();
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 padding_size -= v8::internal::Assembler::kInstrSize; 1601 padding_size -= v8::internal::Assembler::kInstrSize;
1601 } 1602 }
1602 } 1603 }
1603 } 1604 }
1604 1605
1605 #undef __ 1606 #undef __
1606 1607
1607 } // namespace compiler 1608 } // namespace compiler
1608 } // namespace internal 1609 } // namespace internal
1609 } // namespace v8 1610 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698