| 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 25 matching lines...) Expand all  Loading... | 
| 36 | 36 | 
| 37   // Can be used by inlining heuristics or by testing code directly, without | 37   // Can be used by inlining heuristics or by testing code directly, without | 
| 38   // using the above generic reducer interface of the inlining machinery. | 38   // using the above generic reducer interface of the inlining machinery. | 
| 39   Reduction ReduceJSCallFunction(Node* node, Handle<JSFunction> function); | 39   Reduction ReduceJSCallFunction(Node* node, Handle<JSFunction> function); | 
| 40 | 40 | 
| 41  private: | 41  private: | 
| 42   Zone* local_zone_; | 42   Zone* local_zone_; | 
| 43   CompilationInfo* info_; | 43   CompilationInfo* info_; | 
| 44   JSGraph* jsgraph_; | 44   JSGraph* jsgraph_; | 
| 45 | 45 | 
| 46   Node* CreateArgumentsAdaptorFrameState(JSCallFunctionAccessor* call, | 46   Node* CreateArgumentsAdaptorFrameState( | 
| 47                                          Handle<SharedFunctionInfo> shared_info, | 47       JSCallFunctionAccessor* call, Handle<SharedFunctionInfo> shared_info); | 
| 48                                          Zone* temp_zone); |  | 
| 49 | 48 | 
| 50   Reduction InlineCall(Node* call, Node* context, Node* frame_state, | 49   Reduction InlineCall(Node* call, Node* context, Node* frame_state, | 
| 51                        Node* start, Node* end); | 50                        Node* start, Node* end); | 
| 52 }; | 51 }; | 
| 53 | 52 | 
| 54 }  // namespace compiler | 53 }  // namespace compiler | 
| 55 }  // namespace internal | 54 }  // namespace internal | 
| 56 }  // namespace v8 | 55 }  // namespace v8 | 
| 57 | 56 | 
| 58 #endif  // V8_COMPILER_JS_INLINING_H_ | 57 #endif  // V8_COMPILER_JS_INLINING_H_ | 
| OLD | NEW | 
|---|