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/compiler/code-generator.h" | 5 #include "src/compiler/code-generator.h" |
6 | 6 |
7 #include "src/arm64/frames-arm64.h" | 7 #include "src/arm64/frames-arm64.h" |
8 #include "src/arm64/macro-assembler-arm64.h" | 8 #include "src/arm64/macro-assembler-arm64.h" |
9 #include "src/ast/scopes.h" | 9 #include "src/ast/scopes.h" |
10 #include "src/compiler/code-generator-impl.h" | 10 #include "src/compiler/code-generator-impl.h" |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 break; | 759 break; |
760 case kArchTableSwitch: | 760 case kArchTableSwitch: |
761 AssembleArchTableSwitch(instr); | 761 AssembleArchTableSwitch(instr); |
762 break; | 762 break; |
763 case kArchLookupSwitch: | 763 case kArchLookupSwitch: |
764 AssembleArchLookupSwitch(instr); | 764 AssembleArchLookupSwitch(instr); |
765 break; | 765 break; |
766 case kArchDebugBreak: | 766 case kArchDebugBreak: |
767 __ Debug("kArchDebugBreak", 0, BREAK); | 767 __ Debug("kArchDebugBreak", 0, BREAK); |
768 break; | 768 break; |
| 769 case kArchImpossible: |
| 770 __ Abort(kConversionFromImpossibleValue); |
| 771 break; |
769 case kArchComment: { | 772 case kArchComment: { |
770 Address comment_string = i.InputExternalReference(0).address(); | 773 Address comment_string = i.InputExternalReference(0).address(); |
771 __ RecordComment(reinterpret_cast<const char*>(comment_string)); | 774 __ RecordComment(reinterpret_cast<const char*>(comment_string)); |
772 break; | 775 break; |
773 } | 776 } |
774 case kArchNop: | 777 case kArchNop: |
775 case kArchThrowTerminator: | 778 case kArchThrowTerminator: |
776 // don't emit code for nops. | 779 // don't emit code for nops. |
777 break; | 780 break; |
778 case kArchDeoptimize: { | 781 case kArchDeoptimize: { |
(...skipping 1304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2083 padding_size -= kInstructionSize; | 2086 padding_size -= kInstructionSize; |
2084 } | 2087 } |
2085 } | 2088 } |
2086 } | 2089 } |
2087 | 2090 |
2088 #undef __ | 2091 #undef __ |
2089 | 2092 |
2090 } // namespace compiler | 2093 } // namespace compiler |
2091 } // namespace internal | 2094 } // namespace internal |
2092 } // namespace v8 | 2095 } // namespace v8 |
OLD | NEW |