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 #ifndef V8_COMPILER_JS_INLINING_H_ | 5 #ifndef V8_COMPILER_JS_INLINING_H_ |
6 #define V8_COMPILER_JS_INLINING_H_ | 6 #define V8_COMPILER_JS_INLINING_H_ |
7 | 7 |
8 #include "src/compiler/js-graph.h" | 8 #include "src/compiler/js-graph.h" |
9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 Reduction Reduce(Node* node) final; | 30 Reduction Reduce(Node* node) final; |
31 | 31 |
32 private: | 32 private: |
33 Mode const mode_; | 33 Mode const mode_; |
34 Zone* local_zone_; | 34 Zone* local_zone_; |
35 CompilationInfo* info_; | 35 CompilationInfo* info_; |
36 JSGraph* jsgraph_; | 36 JSGraph* jsgraph_; |
37 | 37 |
38 Node* CreateArgumentsAdaptorFrameState(JSCallFunctionAccessor* call, | 38 Node* CreateArgumentsAdaptorFrameState(JSCallFunctionAccessor* call, |
39 Handle<JSFunction> jsfunction, | |
40 Zone* temp_zone); | 39 Zone* temp_zone); |
41 void AddClosureToFrameState(Node* frame_state, Handle<JSFunction> jsfunction); | |
42 | 40 |
43 Reduction InlineCall(Node* call, Inlinee& inlinee); | 41 Reduction InlineCall(Node* call, Inlinee& inlinee); |
44 }; | 42 }; |
45 | 43 |
46 } // namespace compiler | 44 } // namespace compiler |
47 } // namespace internal | 45 } // namespace internal |
48 } // namespace v8 | 46 } // namespace v8 |
49 | 47 |
50 #endif // V8_COMPILER_JS_INLINING_H_ | 48 #endif // V8_COMPILER_JS_INLINING_H_ |
OLD | NEW |