| 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 843 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 854 } else { | 854 } else { |
| 855 UNREACHABLE(); | 855 UNREACHABLE(); |
| 856 return nullptr; | 856 return nullptr; |
| 857 } | 857 } |
| 858 } | 858 } |
| 859 | 859 |
| 860 | 860 |
| 861 const FrameStateFunctionInfo* | 861 const FrameStateFunctionInfo* |
| 862 CommonOperatorBuilder::CreateFrameStateFunctionInfo( | 862 CommonOperatorBuilder::CreateFrameStateFunctionInfo( |
| 863 FrameStateType type, int parameter_count, int local_count, | 863 FrameStateType type, int parameter_count, int local_count, |
| 864 Handle<SharedFunctionInfo> shared_info, | 864 Handle<SharedFunctionInfo> shared_info) { |
| 865 ContextCallingMode context_calling_mode) { | |
| 866 return new (zone()->New(sizeof(FrameStateFunctionInfo))) | 865 return new (zone()->New(sizeof(FrameStateFunctionInfo))) |
| 867 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info, | 866 FrameStateFunctionInfo(type, parameter_count, local_count, shared_info); |
| 868 context_calling_mode); | |
| 869 } | 867 } |
| 870 | 868 |
| 871 } // namespace compiler | 869 } // namespace compiler |
| 872 } // namespace internal | 870 } // namespace internal |
| 873 } // namespace v8 | 871 } // namespace v8 |
| OLD | NEW |