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/common-operator.h" | 5 #include "src/compiler/common-operator.h" |
6 | 6 |
7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
8 #include "src/base/lazy-instance.h" | 8 #include "src/base/lazy-instance.h" |
9 #include "src/compiler/linkage.h" | 9 #include "src/compiler/linkage.h" |
10 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 } else { | 769 } else { |
770 UNREACHABLE(); | 770 UNREACHABLE(); |
771 return nullptr; | 771 return nullptr; |
772 } | 772 } |
773 } | 773 } |
774 | 774 |
775 | 775 |
776 const FrameStateFunctionInfo* | 776 const FrameStateFunctionInfo* |
777 CommonOperatorBuilder::CreateFrameStateFunctionInfo( | 777 CommonOperatorBuilder::CreateFrameStateFunctionInfo( |
778 FrameStateType type, int parameter_count, int local_count, | 778 FrameStateType type, int parameter_count, int local_count, |
779 Handle<SharedFunctionInfo> shared_info) { | 779 Handle<SharedFunctionInfo> shared_info, |
| 780 ContextCallingMode context_calling_mode) { |
780 return new (zone()->New(sizeof(FrameStateFunctionInfo))) | 781 return new (zone()->New(sizeof(FrameStateFunctionInfo))) |
781 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info); | 782 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info, |
| 783 context_calling_mode); |
782 } | 784 } |
783 | 785 |
784 } // namespace compiler | 786 } // namespace compiler |
785 } // namespace internal | 787 } // namespace internal |
786 } // namespace v8 | 788 } // namespace v8 |
OLD | NEW |