| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_CALL_REDUCER_H_ | 5 #ifndef V8_COMPILER_JS_CALL_REDUCER_H_ |
| 6 #define V8_COMPILER_JS_CALL_REDUCER_H_ | 6 #define V8_COMPILER_JS_CALL_REDUCER_H_ |
| 7 | 7 |
| 8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
| 9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
| 10 #include "src/deoptimize-reason.h" |
| 10 | 11 |
| 11 namespace v8 { | 12 namespace v8 { |
| 12 namespace internal { | 13 namespace internal { |
| 13 | 14 |
| 14 // Forward declarations. | 15 // Forward declarations. |
| 15 class CompilationDependencies; | 16 class CompilationDependencies; |
| 16 class Factory; | 17 class Factory; |
| 17 | 18 |
| 18 namespace compiler { | 19 namespace compiler { |
| 19 | 20 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 Reduction ReduceCallOrConstructWithArrayLikeOrSpread( | 64 Reduction ReduceCallOrConstructWithArrayLikeOrSpread( |
| 64 Node* node, int arity, CallFrequency const& frequency); | 65 Node* node, int arity, CallFrequency const& frequency); |
| 65 Reduction ReduceJSConstruct(Node* node); | 66 Reduction ReduceJSConstruct(Node* node); |
| 66 Reduction ReduceJSConstructWithArrayLike(Node* node); | 67 Reduction ReduceJSConstructWithArrayLike(Node* node); |
| 67 Reduction ReduceJSConstructWithSpread(Node* node); | 68 Reduction ReduceJSConstructWithSpread(Node* node); |
| 68 Reduction ReduceJSCall(Node* node); | 69 Reduction ReduceJSCall(Node* node); |
| 69 Reduction ReduceJSCallWithArrayLike(Node* node); | 70 Reduction ReduceJSCallWithArrayLike(Node* node); |
| 70 Reduction ReduceJSCallWithSpread(Node* node); | 71 Reduction ReduceJSCallWithSpread(Node* node); |
| 71 Reduction ReduceReturnReceiver(Node* node); | 72 Reduction ReduceReturnReceiver(Node* node); |
| 72 | 73 |
| 74 Reduction ReduceSoftDeoptimize(Node* node, DeoptimizeReason reason); |
| 75 |
| 73 Graph* graph() const; | 76 Graph* graph() const; |
| 74 JSGraph* jsgraph() const { return jsgraph_; } | 77 JSGraph* jsgraph() const { return jsgraph_; } |
| 75 Isolate* isolate() const; | 78 Isolate* isolate() const; |
| 76 Factory* factory() const; | 79 Factory* factory() const; |
| 77 Handle<Context> native_context() const { return native_context_; } | 80 Handle<Context> native_context() const { return native_context_; } |
| 78 Handle<JSGlobalProxy> global_proxy() const; | 81 Handle<JSGlobalProxy> global_proxy() const; |
| 79 CommonOperatorBuilder* common() const; | 82 CommonOperatorBuilder* common() const; |
| 80 JSOperatorBuilder* javascript() const; | 83 JSOperatorBuilder* javascript() const; |
| 81 SimplifiedOperatorBuilder* simplified() const; | 84 SimplifiedOperatorBuilder* simplified() const; |
| 82 Flags flags() const { return flags_; } | 85 Flags flags() const { return flags_; } |
| 83 CompilationDependencies* dependencies() const { return dependencies_; } | 86 CompilationDependencies* dependencies() const { return dependencies_; } |
| 84 | 87 |
| 85 JSGraph* const jsgraph_; | 88 JSGraph* const jsgraph_; |
| 86 Flags const flags_; | 89 Flags const flags_; |
| 87 Handle<Context> const native_context_; | 90 Handle<Context> const native_context_; |
| 88 CompilationDependencies* const dependencies_; | 91 CompilationDependencies* const dependencies_; |
| 89 }; | 92 }; |
| 90 | 93 |
| 91 } // namespace compiler | 94 } // namespace compiler |
| 92 } // namespace internal | 95 } // namespace internal |
| 93 } // namespace v8 | 96 } // namespace v8 |
| 94 | 97 |
| 95 #endif // V8_COMPILER_JS_CALL_REDUCER_H_ | 98 #endif // V8_COMPILER_JS_CALL_REDUCER_H_ |
| OLD | NEW |