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

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

Issue 2266823002: [turbofan] Insert dummy values when changing from None type. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase 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/bailout-reason.h ('k') | src/compiler/arm64/code-generator-arm64.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/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/compiler/code-generator-impl.h" 9 #include "src/compiler/code-generator-impl.h"
10 #include "src/compiler/gap-resolver.h" 10 #include "src/compiler/gap-resolver.h"
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 AssembleArchLookupSwitch(instr); 700 AssembleArchLookupSwitch(instr);
701 DCHECK_EQ(LeaveCC, i.OutputSBit()); 701 DCHECK_EQ(LeaveCC, i.OutputSBit());
702 break; 702 break;
703 case kArchTableSwitch: 703 case kArchTableSwitch:
704 AssembleArchTableSwitch(instr); 704 AssembleArchTableSwitch(instr);
705 DCHECK_EQ(LeaveCC, i.OutputSBit()); 705 DCHECK_EQ(LeaveCC, i.OutputSBit());
706 break; 706 break;
707 case kArchDebugBreak: 707 case kArchDebugBreak:
708 __ stop("kArchDebugBreak"); 708 __ stop("kArchDebugBreak");
709 break; 709 break;
710 case kArchImpossible:
711 __ Abort(kConversionFromImpossibleValue);
712 break;
713 case kArchComment: { 710 case kArchComment: {
714 Address comment_string = i.InputExternalReference(0).address(); 711 Address comment_string = i.InputExternalReference(0).address();
715 __ RecordComment(reinterpret_cast<const char*>(comment_string)); 712 __ RecordComment(reinterpret_cast<const char*>(comment_string));
716 break; 713 break;
717 } 714 }
718 case kArchNop: 715 case kArchNop:
719 case kArchThrowTerminator: 716 case kArchThrowTerminator:
720 // don't emit code for nops. 717 // don't emit code for nops.
721 DCHECK_EQ(LeaveCC, i.OutputSBit()); 718 DCHECK_EQ(LeaveCC, i.OutputSBit());
722 break; 719 break;
(...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after
2029 padding_size -= v8::internal::Assembler::kInstrSize; 2026 padding_size -= v8::internal::Assembler::kInstrSize;
2030 } 2027 }
2031 } 2028 }
2032 } 2029 }
2033 2030
2034 #undef __ 2031 #undef __
2035 2032
2036 } // namespace compiler 2033 } // namespace compiler
2037 } // namespace internal 2034 } // namespace internal
2038 } // namespace v8 2035 } // namespace v8
OLDNEW
« no previous file with comments | « src/bailout-reason.h ('k') | src/compiler/arm64/code-generator-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698