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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 } | 704 } |
705 case kArchJmp: | 705 case kArchJmp: |
706 AssembleArchJump(i.InputRpo(0)); | 706 AssembleArchJump(i.InputRpo(0)); |
707 break; | 707 break; |
708 case kArchTableSwitch: | 708 case kArchTableSwitch: |
709 AssembleArchTableSwitch(instr); | 709 AssembleArchTableSwitch(instr); |
710 break; | 710 break; |
711 case kArchLookupSwitch: | 711 case kArchLookupSwitch: |
712 AssembleArchLookupSwitch(instr); | 712 AssembleArchLookupSwitch(instr); |
713 break; | 713 break; |
| 714 case kArchDebugBreak: |
| 715 __ Debug("kArchDebugBreak", 0, BREAK); |
| 716 break; |
714 case kArchNop: | 717 case kArchNop: |
715 case kArchThrowTerminator: | 718 case kArchThrowTerminator: |
716 // don't emit code for nops. | 719 // don't emit code for nops. |
717 break; | 720 break; |
718 case kArchDeoptimize: { | 721 case kArchDeoptimize: { |
719 int deopt_state_id = | 722 int deopt_state_id = |
720 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 723 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
721 Deoptimizer::BailoutType bailout_type = | 724 Deoptimizer::BailoutType bailout_type = |
722 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 725 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
723 CodeGenResult result = | 726 CodeGenResult result = |
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1899 padding_size -= kInstructionSize; | 1902 padding_size -= kInstructionSize; |
1900 } | 1903 } |
1901 } | 1904 } |
1902 } | 1905 } |
1903 | 1906 |
1904 #undef __ | 1907 #undef __ |
1905 | 1908 |
1906 } // namespace compiler | 1909 } // namespace compiler |
1907 } // namespace internal | 1910 } // namespace internal |
1908 } // namespace v8 | 1911 } // namespace v8 |
OLD | NEW |