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

Side by Side Diff: src/compiler/mips/code-generator-mips.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/compiler/machine-operator.cc ('k') | src/compiler/mips64/code-generator-mips64.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/ast/scopes.h" 5 #include "src/ast/scopes.h"
6 #include "src/compiler/code-generator.h" 6 #include "src/compiler/code-generator.h"
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/osr.h" 10 #include "src/compiler/osr.h"
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 break; 686 break;
687 case kArchLookupSwitch: 687 case kArchLookupSwitch:
688 AssembleArchLookupSwitch(instr); 688 AssembleArchLookupSwitch(instr);
689 break; 689 break;
690 case kArchTableSwitch: 690 case kArchTableSwitch:
691 AssembleArchTableSwitch(instr); 691 AssembleArchTableSwitch(instr);
692 break; 692 break;
693 case kArchDebugBreak: 693 case kArchDebugBreak:
694 __ stop("kArchDebugBreak"); 694 __ stop("kArchDebugBreak");
695 break; 695 break;
696 case kArchImpossible:
697 __ Abort(kConversionFromImpossibleValue);
698 break;
699 case kArchComment: { 696 case kArchComment: {
700 Address comment_string = i.InputExternalReference(0).address(); 697 Address comment_string = i.InputExternalReference(0).address();
701 __ RecordComment(reinterpret_cast<const char*>(comment_string)); 698 __ RecordComment(reinterpret_cast<const char*>(comment_string));
702 break; 699 break;
703 } 700 }
704 case kArchNop: 701 case kArchNop:
705 case kArchThrowTerminator: 702 case kArchThrowTerminator:
706 // don't emit code for nops. 703 // don't emit code for nops.
707 break; 704 break;
708 case kArchDeoptimize: { 705 case kArchDeoptimize: {
(...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after
2212 padding_size -= v8::internal::Assembler::kInstrSize; 2209 padding_size -= v8::internal::Assembler::kInstrSize;
2213 } 2210 }
2214 } 2211 }
2215 } 2212 }
2216 2213
2217 #undef __ 2214 #undef __
2218 2215
2219 } // namespace compiler 2216 } // namespace compiler
2220 } // namespace internal 2217 } // namespace internal
2221 } // namespace v8 2218 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698