| 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_TYPE_FEEDBACK_H_ | 5 #ifndef V8_COMPILER_JS_TYPE_FEEDBACK_H_ |
| 6 #define V8_COMPILER_JS_TYPE_FEEDBACK_H_ | 6 #define V8_COMPILER_JS_TYPE_FEEDBACK_H_ |
| 7 | 7 |
| 8 #include "src/utils.h" | 8 #include "src/utils.h" |
| 9 | 9 |
| 10 #include "src/compiler/graph-reducer.h" | 10 #include "src/compiler/graph-reducer.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 oracle_(oracle), | 77 oracle_(oracle), |
| 78 global_object_(global_object), | 78 global_object_(global_object), |
| 79 mode_(mode), | 79 mode_(mode), |
| 80 dependencies_(dependencies) { | 80 dependencies_(dependencies) { |
| 81 CHECK_NOT_NULL(js_type_feedback); | 81 CHECK_NOT_NULL(js_type_feedback); |
| 82 } | 82 } |
| 83 | 83 |
| 84 Reduction Reduce(Node* node) override; | 84 Reduction Reduce(Node* node) override; |
| 85 | 85 |
| 86 // Visible for unit testing. | 86 // Visible for unit testing. |
| 87 Reduction ReduceJSLoadGlobal(Node* node); |
| 87 Reduction ReduceJSLoadNamed(Node* node); | 88 Reduction ReduceJSLoadNamed(Node* node); |
| 88 Reduction ReduceJSLoadNamedForGlobalVariable(Node* node); | |
| 89 Reduction ReduceJSLoadProperty(Node* node); | 89 Reduction ReduceJSLoadProperty(Node* node); |
| 90 Reduction ReduceJSStoreNamed(Node* node); | 90 Reduction ReduceJSStoreNamed(Node* node); |
| 91 Reduction ReduceJSStoreProperty(Node* node); | 91 Reduction ReduceJSStoreProperty(Node* node); |
| 92 | 92 |
| 93 private: | 93 private: |
| 94 JSGraph* jsgraph_; | 94 JSGraph* jsgraph_; |
| 95 SimplifiedOperatorBuilder simplified_; | 95 SimplifiedOperatorBuilder simplified_; |
| 96 JSTypeFeedbackTable* js_type_feedback_; | 96 JSTypeFeedbackTable* js_type_feedback_; |
| 97 TypeFeedbackOracle* oracle_; | 97 TypeFeedbackOracle* oracle_; |
| 98 Handle<GlobalObject> global_object_; | 98 Handle<GlobalObject> global_object_; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 110 Node* effect, Node* control, Node** success, Node** fail); | 110 Node* effect, Node* control, Node** success, Node** fail); |
| 111 | 111 |
| 112 Node* GetFrameStateBefore(Node* node); | 112 Node* GetFrameStateBefore(Node* node); |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 } // namespace compiler | 115 } // namespace compiler |
| 116 } // namespace internal | 116 } // namespace internal |
| 117 } // namespace v8 | 117 } // namespace v8 |
| 118 | 118 |
| 119 #endif | 119 #endif |
| OLD | NEW |