| 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/callable.h" |
| 10 #include "src/compilation-info.h" | 11 #include "src/compilation-info.h" |
| 11 #include "src/compiler/code-generator-impl.h" | 12 #include "src/compiler/code-generator-impl.h" |
| 12 #include "src/compiler/linkage.h" | 13 #include "src/compiler/linkage.h" |
| 13 #include "src/compiler/pipeline.h" | 14 #include "src/compiler/pipeline.h" |
| 14 #include "src/frames-inl.h" | 15 #include "src/frames-inl.h" |
| 15 #include "src/macro-assembler-inl.h" | 16 #include "src/macro-assembler-inl.h" |
| 16 | 17 |
| 17 namespace v8 { | 18 namespace v8 { |
| 18 namespace internal { | 19 namespace internal { |
| 19 namespace compiler { | 20 namespace compiler { |
| (...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 814 break; | 815 break; |
| 815 case FrameStateType::kTailCallerFunction: | 816 case FrameStateType::kTailCallerFunction: |
| 816 translation->BeginTailCallerFrame(shared_info_id); | 817 translation->BeginTailCallerFrame(shared_info_id); |
| 817 break; | 818 break; |
| 818 case FrameStateType::kConstructStub: | 819 case FrameStateType::kConstructStub: |
| 819 DCHECK(descriptor->bailout_id().IsValidForConstructStub()); | 820 DCHECK(descriptor->bailout_id().IsValidForConstructStub()); |
| 820 translation->BeginConstructStubFrame( | 821 translation->BeginConstructStubFrame( |
| 821 descriptor->bailout_id(), shared_info_id, | 822 descriptor->bailout_id(), shared_info_id, |
| 822 static_cast<unsigned int>(descriptor->parameters_count())); | 823 static_cast<unsigned int>(descriptor->parameters_count())); |
| 823 break; | 824 break; |
| 825 case FrameStateType::kBuiltinContinuation: { |
| 826 BailoutId bailout_id = descriptor->bailout_id(); |
| 827 int parameter_count = |
| 828 static_cast<unsigned int>(descriptor->parameters_count()); |
| 829 translation->BeginBuiltinContinuationFrame(bailout_id, shared_info_id, |
| 830 parameter_count); |
| 831 break; |
| 832 } |
| 824 case FrameStateType::kGetterStub: | 833 case FrameStateType::kGetterStub: |
| 825 translation->BeginGetterStubFrame(shared_info_id); | 834 translation->BeginGetterStubFrame(shared_info_id); |
| 826 break; | 835 break; |
| 827 case FrameStateType::kSetterStub: | 836 case FrameStateType::kSetterStub: |
| 828 translation->BeginSetterStubFrame(shared_info_id); | 837 translation->BeginSetterStubFrame(shared_info_id); |
| 829 break; | 838 break; |
| 830 } | 839 } |
| 831 | 840 |
| 832 TranslateFrameStateDescriptorOperands(descriptor, iter, state_combine, | 841 TranslateFrameStateDescriptorOperands(descriptor, iter, state_combine, |
| 833 translation); | 842 translation); |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1001 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { | 1010 : frame_(gen->frame()), masm_(gen->masm()), next_(gen->ools_) { |
| 1002 gen->ools_ = this; | 1011 gen->ools_ = this; |
| 1003 } | 1012 } |
| 1004 | 1013 |
| 1005 | 1014 |
| 1006 OutOfLineCode::~OutOfLineCode() {} | 1015 OutOfLineCode::~OutOfLineCode() {} |
| 1007 | 1016 |
| 1008 } // namespace compiler | 1017 } // namespace compiler |
| 1009 } // namespace internal | 1018 } // namespace internal |
| 1010 } // namespace v8 | 1019 } // namespace v8 |
| OLD | NEW |