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

Side by Side Diff: src/compiler/mips64/code-generator-mips64.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/mips/code-generator-mips.cc ('k') | src/compiler/opcodes.h » ('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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 break; 695 break;
696 case kArchLookupSwitch: 696 case kArchLookupSwitch:
697 AssembleArchLookupSwitch(instr); 697 AssembleArchLookupSwitch(instr);
698 break; 698 break;
699 case kArchTableSwitch: 699 case kArchTableSwitch:
700 AssembleArchTableSwitch(instr); 700 AssembleArchTableSwitch(instr);
701 break; 701 break;
702 case kArchDebugBreak: 702 case kArchDebugBreak:
703 __ stop("kArchDebugBreak"); 703 __ stop("kArchDebugBreak");
704 break; 704 break;
705 case kArchImpossible:
706 __ Abort(kConversionFromImpossibleValue);
707 break;
708 case kArchComment: { 705 case kArchComment: {
709 Address comment_string = i.InputExternalReference(0).address(); 706 Address comment_string = i.InputExternalReference(0).address();
710 __ RecordComment(reinterpret_cast<const char*>(comment_string)); 707 __ RecordComment(reinterpret_cast<const char*>(comment_string));
711 break; 708 break;
712 } 709 }
713 case kArchNop: 710 case kArchNop:
714 case kArchThrowTerminator: 711 case kArchThrowTerminator:
715 // don't emit code for nops. 712 // don't emit code for nops.
716 break; 713 break;
717 case kArchDeoptimize: { 714 case kArchDeoptimize: {
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after
2487 padding_size -= v8::internal::Assembler::kInstrSize; 2484 padding_size -= v8::internal::Assembler::kInstrSize;
2488 } 2485 }
2489 } 2486 }
2490 } 2487 }
2491 2488
2492 #undef __ 2489 #undef __
2493 2490
2494 } // namespace compiler 2491 } // namespace compiler
2495 } // namespace internal 2492 } // namespace internal
2496 } // namespace v8 2493 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/mips/code-generator-mips.cc ('k') | src/compiler/opcodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698