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/x64/code-generator-x64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 case kArchJmp: 685 case kArchJmp:
686 AssembleArchJump(i.InputRpo(0)); 686 AssembleArchJump(i.InputRpo(0));
687 break; 687 break;
688 case kArchLookupSwitch: 688 case kArchLookupSwitch:
689 AssembleArchLookupSwitch(instr); 689 AssembleArchLookupSwitch(instr);
690 break; 690 break;
691 case kArchTableSwitch: 691 case kArchTableSwitch:
692 AssembleArchTableSwitch(instr); 692 AssembleArchTableSwitch(instr);
693 break; 693 break;
694 case kArchNop: 694 case kArchNop:
695 case kArchThrowTerminator:
695 // don't emit code for nops. 696 // don't emit code for nops.
696 break; 697 break;
697 case kArchDeoptimize: { 698 case kArchDeoptimize: {
698 int deopt_state_id = 699 int deopt_state_id =
699 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 700 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
700 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); 701 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER);
701 break; 702 break;
702 } 703 }
703 case kArchRet: 704 case kArchRet:
704 AssembleReturn(); 705 AssembleReturn();
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2005 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2005 __ Nop(padding_size); 2006 __ Nop(padding_size);
2006 } 2007 }
2007 } 2008 }
2008 2009
2009 #undef __ 2010 #undef __
2010 2011
2011 } // namespace compiler 2012 } // namespace compiler
2012 } // namespace internal 2013 } // namespace internal
2013 } // namespace v8 2014 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698