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/compiler/code-generator-impl.h" | 8 #include "src/compiler/code-generator-impl.h" |
9 #include "src/compiler/linkage.h" | 9 #include "src/compiler/linkage.h" |
10 #include "src/compiler/pipeline.h" | 10 #include "src/compiler/pipeline.h" |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 case FrameStateType::kInterpretedFunction: | 622 case FrameStateType::kInterpretedFunction: |
623 translation->BeginInterpretedFrame( | 623 translation->BeginInterpretedFrame( |
624 descriptor->bailout_id(), shared_info_id, | 624 descriptor->bailout_id(), shared_info_id, |
625 static_cast<unsigned int>(descriptor->locals_count() + 1)); | 625 static_cast<unsigned int>(descriptor->locals_count() + 1)); |
626 break; | 626 break; |
627 case FrameStateType::kArgumentsAdaptor: | 627 case FrameStateType::kArgumentsAdaptor: |
628 translation->BeginArgumentsAdaptorFrame( | 628 translation->BeginArgumentsAdaptorFrame( |
629 shared_info_id, | 629 shared_info_id, |
630 static_cast<unsigned int>(descriptor->parameters_count())); | 630 static_cast<unsigned int>(descriptor->parameters_count())); |
631 break; | 631 break; |
| 632 case FrameStateType::kTailCallerFunction: |
| 633 translation->BeginTailCallerFrame(shared_info_id); |
| 634 break; |
632 case FrameStateType::kConstructStub: | 635 case FrameStateType::kConstructStub: |
633 translation->BeginConstructStubFrame( | 636 translation->BeginConstructStubFrame( |
634 shared_info_id, | 637 shared_info_id, |
635 static_cast<unsigned int>(descriptor->parameters_count())); | 638 static_cast<unsigned int>(descriptor->parameters_count())); |
636 break; | 639 break; |
637 } | 640 } |
638 | 641 |
639 TranslateFrameStateDescriptorOperands(descriptor, iter, state_combine, | 642 TranslateFrameStateDescriptorOperands(descriptor, iter, state_combine, |
640 translation); | 643 translation); |
641 } | 644 } |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { | 779 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { |
777 gen->ools_ = this; | 780 gen->ools_ = this; |
778 } | 781 } |
779 | 782 |
780 | 783 |
781 OutOfLineCode::~OutOfLineCode() {} | 784 OutOfLineCode::~OutOfLineCode() {} |
782 | 785 |
783 } // namespace compiler | 786 } // namespace compiler |
784 } // namespace internal | 787 } // namespace internal |
785 } // namespace v8 | 788 } // namespace v8 |
OLD | NEW |