OLD | NEW |
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 Loading... |
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; |
696 case kArchComment: { | 699 case kArchComment: { |
697 Address comment_string = i.InputExternalReference(0).address(); | 700 Address comment_string = i.InputExternalReference(0).address(); |
698 __ RecordComment(reinterpret_cast<const char*>(comment_string)); | 701 __ RecordComment(reinterpret_cast<const char*>(comment_string)); |
699 break; | 702 break; |
700 } | 703 } |
701 case kArchNop: | 704 case kArchNop: |
702 case kArchThrowTerminator: | 705 case kArchThrowTerminator: |
703 // don't emit code for nops. | 706 // don't emit code for nops. |
704 break; | 707 break; |
705 case kArchDeoptimize: { | 708 case kArchDeoptimize: { |
(...skipping 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2200 padding_size -= v8::internal::Assembler::kInstrSize; | 2203 padding_size -= v8::internal::Assembler::kInstrSize; |
2201 } | 2204 } |
2202 } | 2205 } |
2203 } | 2206 } |
2204 | 2207 |
2205 #undef __ | 2208 #undef __ |
2206 | 2209 |
2207 } // namespace compiler | 2210 } // namespace compiler |
2208 } // namespace internal | 2211 } // namespace internal |
2209 } // namespace v8 | 2212 } // namespace v8 |
OLD | NEW |