OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/address-map.h" | 7 #include "src/address-map.h" |
8 #include "src/assembler-inl.h" | 8 #include "src/assembler-inl.h" |
9 #include "src/base/adapters.h" | 9 #include "src/base/adapters.h" |
10 #include "src/compilation-info.h" | 10 #include "src/compilation-info.h" |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 break; | 806 break; |
807 case FrameStateType::kTailCallerFunction: | 807 case FrameStateType::kTailCallerFunction: |
808 translation->BeginTailCallerFrame(shared_info_id); | 808 translation->BeginTailCallerFrame(shared_info_id); |
809 break; | 809 break; |
810 case FrameStateType::kConstructStub: | 810 case FrameStateType::kConstructStub: |
811 DCHECK(descriptor->bailout_id().IsValidForConstructStub()); | 811 DCHECK(descriptor->bailout_id().IsValidForConstructStub()); |
812 translation->BeginConstructStubFrame( | 812 translation->BeginConstructStubFrame( |
813 descriptor->bailout_id(), shared_info_id, | 813 descriptor->bailout_id(), shared_info_id, |
814 static_cast<unsigned int>(descriptor->parameters_count())); | 814 static_cast<unsigned int>(descriptor->parameters_count())); |
815 break; | 815 break; |
| 816 case FrameStateType::kBuiltinContinuation: { |
| 817 BailoutId bailout_id = descriptor->bailout_id(); |
| 818 int parameter_count = |
| 819 static_cast<unsigned int>(descriptor->parameters_count()); |
| 820 translation->BeginBuiltinContinuationFrame(bailout_id, shared_info_id, |
| 821 parameter_count); |
| 822 break; |
| 823 } |
| 824 case FrameStateType::kJavaScriptBuiltinContinuation: { |
| 825 BailoutId bailout_id = descriptor->bailout_id(); |
| 826 int parameter_count = |
| 827 static_cast<unsigned int>(descriptor->parameters_count()); |
| 828 translation->BeginJavaScriptBuiltinContinuationFrame( |
| 829 bailout_id, shared_info_id, parameter_count); |
| 830 break; |
| 831 } |
816 case FrameStateType::kGetterStub: | 832 case FrameStateType::kGetterStub: |
817 translation->BeginGetterStubFrame(shared_info_id); | 833 translation->BeginGetterStubFrame(shared_info_id); |
818 break; | 834 break; |
819 case FrameStateType::kSetterStub: | 835 case FrameStateType::kSetterStub: |
820 translation->BeginSetterStubFrame(shared_info_id); | 836 translation->BeginSetterStubFrame(shared_info_id); |
821 break; | 837 break; |
822 } | 838 } |
823 | 839 |
824 TranslateFrameStateDescriptorOperands(descriptor, iter, state_combine, | 840 TranslateFrameStateDescriptorOperands(descriptor, iter, state_combine, |
825 translation); | 841 translation); |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { | 1011 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { |
996 gen->ools_ = this; | 1012 gen->ools_ = this; |
997 } | 1013 } |
998 | 1014 |
999 | 1015 |
1000 OutOfLineCode::~OutOfLineCode() {} | 1016 OutOfLineCode::~OutOfLineCode() {} |
1001 | 1017 |
1002 } // namespace compiler | 1018 } // namespace compiler |
1003 } // namespace internal | 1019 } // namespace internal |
1004 } // namespace v8 | 1020 } // namespace v8 |
OLD | NEW |