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

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

Issue 2280613002: Revert of [turbofan] Insert dummy values when changing from None type. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 3 months 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/verifier.cc ('k') | src/compiler/x87/code-generator-x87.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 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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 AssembleArchTableSwitch(instr); 859 AssembleArchTableSwitch(instr);
860 break; 860 break;
861 case kArchComment: { 861 case kArchComment: {
862 Address comment_string = i.InputExternalReference(0).address(); 862 Address comment_string = i.InputExternalReference(0).address();
863 __ RecordComment(reinterpret_cast<const char*>(comment_string)); 863 __ RecordComment(reinterpret_cast<const char*>(comment_string));
864 break; 864 break;
865 } 865 }
866 case kArchDebugBreak: 866 case kArchDebugBreak:
867 __ int3(); 867 __ int3();
868 break; 868 break;
869 case kArchImpossible:
870 __ Abort(kConversionFromImpossibleValue);
871 break;
869 case kArchNop: 872 case kArchNop:
870 case kArchThrowTerminator: 873 case kArchThrowTerminator:
871 // don't emit code for nops. 874 // don't emit code for nops.
872 break; 875 break;
873 case kArchDeoptimize: { 876 case kArchDeoptimize: {
874 int deopt_state_id = 877 int deopt_state_id =
875 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); 878 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore());
876 Deoptimizer::BailoutType bailout_type = 879 Deoptimizer::BailoutType bailout_type =
877 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); 880 Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
878 CodeGenResult result = 881 CodeGenResult result =
(...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after
2670 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc; 2673 int padding_size = last_lazy_deopt_pc_ + space_needed - current_pc;
2671 __ Nop(padding_size); 2674 __ Nop(padding_size);
2672 } 2675 }
2673 } 2676 }
2674 2677
2675 #undef __ 2678 #undef __
2676 2679
2677 } // namespace compiler 2680 } // namespace compiler
2678 } // namespace internal 2681 } // namespace internal
2679 } // namespace v8 2682 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/compiler/x87/code-generator-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698