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; | |
772 case kArchComment: { | 769 case kArchComment: { |
773 Address comment_string = i.InputExternalReference(0).address(); | 770 Address comment_string = i.InputExternalReference(0).address(); |
774 __ RecordComment(reinterpret_cast<const char*>(comment_string)); | 771 __ RecordComment(reinterpret_cast<const char*>(comment_string)); |
775 break; | 772 break; |
776 } | 773 } |
777 case kArchNop: | 774 case kArchNop: |
778 case kArchThrowTerminator: | 775 case kArchThrowTerminator: |
779 // don't emit code for nops. | 776 // don't emit code for nops. |
780 break; | 777 break; |
781 case kArchDeoptimize: { | 778 case kArchDeoptimize: { |
(...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2085 padding_size -= kInstructionSize; | 2082 padding_size -= kInstructionSize; |
2086 } | 2083 } |
2087 } | 2084 } |
2088 } | 2085 } |
2089 | 2086 |
2090 #undef __ | 2087 #undef __ |
2091 | 2088 |
2092 } // namespace compiler | 2089 } // namespace compiler |
2093 } // namespace internal | 2090 } // namespace internal |
2094 } // namespace v8 | 2091 } // namespace v8 |
OLD | NEW |