| 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 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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: | 714 case kArchDebugBreak: |
| 715 __ Debug("kArchDebugBreak", 0, BREAK); | 715 __ Debug("kArchDebugBreak", 0, BREAK); |
| 716 break; | 716 break; |
| 717 case kArchComment: { |
| 718 Address comment_string = i.InputExternalReference(0).address(); |
| 719 __ RecordComment(reinterpret_cast<const char*>(comment_string)); |
| 720 break; |
| 721 } |
| 717 case kArchNop: | 722 case kArchNop: |
| 718 case kArchThrowTerminator: | 723 case kArchThrowTerminator: |
| 719 // don't emit code for nops. | 724 // don't emit code for nops. |
| 720 break; | 725 break; |
| 721 case kArchDeoptimize: { | 726 case kArchDeoptimize: { |
| 722 int deopt_state_id = | 727 int deopt_state_id = |
| 723 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 728 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
| 724 Deoptimizer::BailoutType bailout_type = | 729 Deoptimizer::BailoutType bailout_type = |
| 725 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); | 730 Deoptimizer::BailoutType(MiscField::decode(instr->opcode())); |
| 726 CodeGenResult result = | 731 CodeGenResult result = |
| (...skipping 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1917 padding_size -= kInstructionSize; | 1922 padding_size -= kInstructionSize; |
| 1918 } | 1923 } |
| 1919 } | 1924 } |
| 1920 } | 1925 } |
| 1921 | 1926 |
| 1922 #undef __ | 1927 #undef __ |
| 1923 | 1928 |
| 1924 } // namespace compiler | 1929 } // namespace compiler |
| 1925 } // namespace internal | 1930 } // namespace internal |
| 1926 } // namespace v8 | 1931 } // namespace v8 |
| OLD | NEW |