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

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

Issue 2277283002: Reland of [turbofan] Insert dummy values when changing from None type. (Closed)
Patch Set: Workaround for uninhabited representations. 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/arm/code-generator-arm.cc ('k') | src/compiler/ia32/code-generator-ia32.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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm64/frames-arm64.h" 7 #include "src/arm64/frames-arm64.h"
8 #include "src/arm64/macro-assembler-arm64.h" 8 #include "src/arm64/macro-assembler-arm64.h"
9 #include "src/ast/scopes.h" 9 #include "src/ast/scopes.h"
10 #include "src/compiler/code-generator-impl.h" 10 #include "src/compiler/code-generator-impl.h"
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 break; 759 break;
760 case kArchTableSwitch: 760 case kArchTableSwitch:
761 AssembleArchTableSwitch(instr); 761 AssembleArchTableSwitch(instr);
762 break; 762 break;
763 case kArchLookupSwitch: 763 case kArchLookupSwitch:
764 AssembleArchLookupSwitch(instr); 764 AssembleArchLookupSwitch(instr);
765 break; 765 break;
766 case kArchDebugBreak: 766 case kArchDebugBreak:
767 __ Debug("kArchDebugBreak", 0, BREAK); 767 __ Debug("kArchDebugBreak", 0, BREAK);
768 break; 768 break;
769 case kArchImpossible:
770 __ Abort(kConversionFromImpossibleValue);
771 break;
772 case kArchComment: { 769 case kArchComment: {
773 Address comment_string = i.InputExternalReference(0).address(); 770 Address comment_string = i.InputExternalReference(0).address();
774 __ RecordComment(reinterpret_cast<const char*>(comment_string)); 771 __ RecordComment(reinterpret_cast<const char*>(comment_string));
775 break; 772 break;
776 } 773 }
777 case kArchNop: 774 case kArchNop:
778 case kArchThrowTerminator: 775 case kArchThrowTerminator:
779 // don't emit code for nops. 776 // don't emit code for nops.
780 break; 777 break;
781 case kArchDeoptimize: { 778 case kArchDeoptimize: {
(...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after
2085 padding_size -= kInstructionSize; 2082 padding_size -= kInstructionSize;
2086 } 2083 }
2087 } 2084 }
2088 } 2085 }
2089 2086
2090 #undef __ 2087 #undef __
2091 2088
2092 } // namespace compiler 2089 } // namespace compiler
2093 } // namespace internal 2090 } // namespace internal
2094 } // namespace v8 2091 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/code-generator-arm.cc ('k') | src/compiler/ia32/code-generator-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698