| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 | 57 |
| 58 // Potential reduction to ToNumber operations | 58 // Potential reduction to ToNumber operations |
| 59 Reduction ReduceToNumberOperation(Node* value, Node* effect, Node* control, | 59 Reduction ReduceToNumberOperation(Node* value, Node* effect, Node* control, |
| 60 FeedbackSlot slot) const; | 60 FeedbackSlot slot) const; |
| 61 | 61 |
| 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. |
| 68 Reduction ReduceCallOperation(const Operator* op, Node* const* args, |
| 69 int arg_count, Node* effect, Node* control, |
| 70 FeedbackSlot slot) const; |
| 71 |
| 67 // Potential reduction of property access operations. | 72 // Potential reduction of property access operations. |
| 68 Reduction ReduceLoadNamedOperation(const Operator* op, Node* obj, | 73 Reduction ReduceLoadNamedOperation(const Operator* op, Node* obj, |
| 69 Node* effect, Node* control, | 74 Node* effect, Node* control, |
| 70 FeedbackSlot slot) const; | 75 FeedbackSlot slot) const; |
| 71 Reduction ReduceLoadKeyedOperation(const Operator* op, Node* obj, Node* key, | 76 Reduction ReduceLoadKeyedOperation(const Operator* op, Node* obj, Node* key, |
| 72 Node* effect, Node* control, | 77 Node* effect, Node* control, |
| 73 FeedbackSlot slot) const; | 78 FeedbackSlot slot) const; |
| 74 Reduction ReduceStoreNamedOperation(const Operator* op, Node* obj, Node* val, | 79 Reduction ReduceStoreNamedOperation(const Operator* op, Node* obj, Node* val, |
| 75 Node* effect, Node* control, | 80 Node* effect, Node* control, |
| 76 FeedbackSlot slot) const; | 81 FeedbackSlot slot) const; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 94 Handle<FeedbackVector> feedback_vector_; | 99 Handle<FeedbackVector> feedback_vector_; |
| 95 | 100 |
| 96 DISALLOW_COPY_AND_ASSIGN(JSTypeHintLowering); | 101 DISALLOW_COPY_AND_ASSIGN(JSTypeHintLowering); |
| 97 }; | 102 }; |
| 98 | 103 |
| 99 } // namespace compiler | 104 } // namespace compiler |
| 100 } // namespace internal | 105 } // namespace internal |
| 101 } // namespace v8 | 106 } // namespace v8 |
| 102 | 107 |
| 103 #endif // V8_COMPILER_JS_TYPE_HINT_LOWERING_H_ | 108 #endif // V8_COMPILER_JS_TYPE_HINT_LOWERING_H_ |
| OLD | NEW |