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

Side by Side Diff: src/compiler/arm/code-generator-arm.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/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;
710 case kArchComment: { 713 case kArchComment: {
711 Address comment_string = i.InputExternalReference(0).address(); 714 Address comment_string = i.InputExternalReference(0).address();
712 __ RecordComment(reinterpret_cast<const char*>(comment_string)); 715 __ RecordComment(reinterpret_cast<const char*>(comment_string));
713 break; 716 break;
714 } 717 }
715 case kArchNop: 718 case kArchNop:
716 case kArchThrowTerminator: 719 case kArchThrowTerminator:
717 // don't emit code for nops. 720 // don't emit code for nops.
718 DCHECK_EQ(LeaveCC, i.OutputSBit()); 721 DCHECK_EQ(LeaveCC, i.OutputSBit());
719 break; 722 break;
(...skipping 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after
2026 padding_size -= v8::internal::Assembler::kInstrSize; 2029 padding_size -= v8::internal::Assembler::kInstrSize;
2027 } 2030 }
2028 } 2031 }
2029 } 2032 }
2030 2033
2031 #undef __ 2034 #undef __
2032 2035
2033 } // namespace compiler 2036 } // namespace compiler
2034 } // namespace internal 2037 } // namespace internal
2035 } // namespace v8 2038 } // 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