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

Side by Side Diff: src/compiler/x64/code-generator-x64.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 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/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 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:
696 // don't emit code for nops. 695 // don't emit code for nops.
697 break; 696 break;
698 case kArchDeoptimize: { 697 case kArchDeoptimize: {
699 int deopt_state_id = 698 int deopt_state_id =
700 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 699 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
701 Deoptimizer::BailoutType bailout_type = 700 Deoptimizer::BailoutType bailout_type =
702 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 701 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
703 AssembleDeoptimizerCall(deopt_state_id, bailout_type); 702 AssembleDeoptimizerCall(deopt_state_id, bailout_type);
704 break; 703 break;
705 } 704 }
(...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
2088 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2087 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2089 __ Nop(padding_size); 2088 __ Nop(padding_size);
2090 } 2089 }
2091 } 2090 }
2092 2091
2093 #undef __ 2092 #undef __
2094 2093
2095 } // namespace compiler 2094 } // namespace compiler
2096 } // namespace internal 2095 } // namespace internal
2097 } // namespace v8 2096 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/instruction-scheduler-ppc.cc ('k') | src/compiler/x64/instruction-scheduler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698