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/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 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 break; | 720 break; |
721 case kArchLookupSwitch: | 721 case kArchLookupSwitch: |
722 AssembleArchLookupSwitch(instr); | 722 AssembleArchLookupSwitch(instr); |
723 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 723 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
724 break; | 724 break; |
725 case kArchTableSwitch: | 725 case kArchTableSwitch: |
726 AssembleArchTableSwitch(instr); | 726 AssembleArchTableSwitch(instr); |
727 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 727 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
728 break; | 728 break; |
729 case kArchNop: | 729 case kArchNop: |
| 730 case kArchThrowTerminator: |
730 // don't emit code for nops. | 731 // don't emit code for nops. |
731 DCHECK_EQ(LeaveRC, i.OutputRCBit()); | 732 DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
732 break; | 733 break; |
733 case kArchDeoptimize: { | 734 case kArchDeoptimize: { |
734 int deopt_state_id = | 735 int deopt_state_id = |
735 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); | 736 BuildTranslation(instr, -1, 0, OutputFrameStateCombine::Ignore()); |
736 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); | 737 AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER); |
737 break; | 738 break; |
738 } | 739 } |
739 case kArchRet: | 740 case kArchRet: |
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1735 padding_size -= v8::internal::Assembler::kInstrSize; | 1736 padding_size -= v8::internal::Assembler::kInstrSize; |
1736 } | 1737 } |
1737 } | 1738 } |
1738 } | 1739 } |
1739 | 1740 |
1740 #undef __ | 1741 #undef __ |
1741 | 1742 |
1742 } // namespace compiler | 1743 } // namespace compiler |
1743 } // namespace internal | 1744 } // namespace internal |
1744 } // namespace v8 | 1745 } // namespace v8 |
OLD | NEW |