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

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

Issue 2177483002: [turbofan] Handle impossible types (Type::None()) in the backend. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix?? Created 4 years, 4 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
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;
705 case kArchComment: { 708 case kArchComment: {
706 Address comment_string = i.InputExternalReference(0).address(); 709 Address comment_string = i.InputExternalReference(0).address();
707 __ RecordComment(reinterpret_cast<const char*>(comment_string)); 710 __ RecordComment(reinterpret_cast<const char*>(comment_string));
708 break; 711 break;
709 } 712 }
710 case kArchNop: 713 case kArchNop:
711 case kArchThrowTerminator: 714 case kArchThrowTerminator:
712 // don't emit code for nops. 715 // don't emit code for nops.
713 break; 716 break;
714 case kArchDeoptimize: { 717 case kArchDeoptimize: {
(...skipping 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after
2451 padding_size -= v8::internal::Assembler::kInstrSize; 2454 padding_size -= v8::internal::Assembler::kInstrSize;
2452 } 2455 }
2453 } 2456 }
2454 } 2457 }
2455 2458
2456 #undef __ 2459 #undef __
2457 2460
2458 } // namespace compiler 2461 } // namespace compiler
2459 } // namespace internal 2462 } // namespace internal
2460 } // namespace v8 2463 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698