| OLD | NEW |
| 1 // Copyright 2017 the V8 project authors. All rights reserved. | 1 // Copyright 2017 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_HINT_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_TYPE_HINT_LOWERING_H_ |
| 6 #define V8_COMPILER_JS_TYPE_HINT_LOWERING_H_ | 6 #define V8_COMPILER_JS_TYPE_HINT_LOWERING_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 #include "src/deoptimize-reason.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // Potential reduction to ToPrimitiveToString operations | 62 // Potential reduction to ToPrimitiveToString operations |
| 63 Reduction ReduceToPrimitiveToStringOperation(Node* value, Node* effect, | 63 Reduction ReduceToPrimitiveToStringOperation(Node* value, Node* effect, |
| 64 Node* control, | 64 Node* control, |
| 65 FeedbackSlot slot) const; | 65 FeedbackSlot slot) const; |
| 66 | 66 |
| 67 // Potential reduction of call operations. | 67 // Potential reduction of call operations. |
| 68 Reduction ReduceCallOperation(const Operator* op, Node* const* args, | 68 Reduction ReduceCallOperation(const Operator* op, Node* const* args, |
| 69 int arg_count, Node* effect, Node* control, | 69 int arg_count, Node* effect, Node* control, |
| 70 FeedbackSlot slot) const; | 70 FeedbackSlot slot) const; |
| 71 | 71 |
| 72 // Potential reduction of construct operations. |
| 73 Reduction ReduceConstructOperation(const Operator* op, Node* const* args, |
| 74 int arg_count, Node* effect, Node* control, |
| 75 FeedbackSlot slot) const; |
| 76 |
| 72 // Potential reduction of property access operations. | 77 // Potential reduction of property access operations. |
| 73 Reduction ReduceLoadNamedOperation(const Operator* op, Node* obj, | 78 Reduction ReduceLoadNamedOperation(const Operator* op, Node* obj, |
| 74 Node* effect, Node* control, | 79 Node* effect, Node* control, |
| 75 FeedbackSlot slot) const; | 80 FeedbackSlot slot) const; |
| 76 Reduction ReduceLoadKeyedOperation(const Operator* op, Node* obj, Node* key, | 81 Reduction ReduceLoadKeyedOperation(const Operator* op, Node* obj, Node* key, |
| 77 Node* effect, Node* control, | 82 Node* effect, Node* control, |
| 78 FeedbackSlot slot) const; | 83 FeedbackSlot slot) const; |
| 79 Reduction ReduceStoreNamedOperation(const Operator* op, Node* obj, Node* val, | 84 Reduction ReduceStoreNamedOperation(const Operator* op, Node* obj, Node* val, |
| 80 Node* effect, Node* control, | 85 Node* effect, Node* control, |
| 81 FeedbackSlot slot) const; | 86 FeedbackSlot slot) const; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 99 Handle<FeedbackVector> feedback_vector_; | 104 Handle<FeedbackVector> feedback_vector_; |
| 100 | 105 |
| 101 DISALLOW_COPY_AND_ASSIGN(JSTypeHintLowering); | 106 DISALLOW_COPY_AND_ASSIGN(JSTypeHintLowering); |
| 102 }; | 107 }; |
| 103 | 108 |
| 104 } // namespace compiler | 109 } // namespace compiler |
| 105 } // namespace internal | 110 } // namespace internal |
| 106 } // namespace v8 | 111 } // namespace v8 |
| 107 | 112 |
| 108 #endif // V8_COMPILER_JS_TYPE_HINT_LOWERING_H_ | 113 #endif // V8_COMPILER_JS_TYPE_HINT_LOWERING_H_ |
| OLD | NEW |