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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |