| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 TypeFeedbackOracle* oracle_; | 93 TypeFeedbackOracle* oracle_; |
| 94 Handle<GlobalObject> global_object_; | 94 Handle<GlobalObject> global_object_; |
| 95 CompilationDependencies* dependencies_; | 95 CompilationDependencies* dependencies_; |
| 96 | 96 |
| 97 TypeFeedbackOracle* oracle() { return oracle_; } | 97 TypeFeedbackOracle* oracle() { return oracle_; } |
| 98 Graph* graph() { return jsgraph_->graph(); } | 98 Graph* graph() { return jsgraph_->graph(); } |
| 99 JSGraph* jsgraph() { return jsgraph_; } | 99 JSGraph* jsgraph() { return jsgraph_; } |
| 100 CommonOperatorBuilder* common() { return jsgraph_->common(); } | 100 CommonOperatorBuilder* common() { return jsgraph_->common(); } |
| 101 SimplifiedOperatorBuilder* simplified() { return &simplified_; } | 101 SimplifiedOperatorBuilder* simplified() { return &simplified_; } |
| 102 | 102 |
| 103 void BuildMapCheck(Node* receiver, Handle<Map> map, bool smi_check, | |
| 104 Node* effect, Node* control, Node** success, Node** fail); | |
| 105 | |
| 106 Node* GetFrameStateBefore(Node* node); | 103 Node* GetFrameStateBefore(Node* node); |
| 107 }; | 104 }; |
| 108 | 105 |
| 109 } // namespace compiler | 106 } // namespace compiler |
| 110 } // namespace internal | 107 } // namespace internal |
| 111 } // namespace v8 | 108 } // namespace v8 |
| 112 | 109 |
| 113 #endif | 110 #endif |
| OLD | NEW |