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 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2484 padding_size -= v8::internal::Assembler::kInstrSize; | 2487 padding_size -= v8::internal::Assembler::kInstrSize; |
2485 } | 2488 } |
2486 } | 2489 } |
2487 } | 2490 } |
2488 | 2491 |
2489 #undef __ | 2492 #undef __ |
2490 | 2493 |
2491 } // namespace compiler | 2494 } // namespace compiler |
2492 } // namespace internal | 2495 } // namespace internal |
2493 } // namespace v8 | 2496 } // namespace v8 |
OLD | NEW |