| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_SIMPLIFIED_LOWERING_H_ | 5 #ifndef V8_COMPILER_SIMPLIFIED_LOWERING_H_ |
| 6 #define V8_COMPILER_SIMPLIFIED_LOWERING_H_ | 6 #define V8_COMPILER_SIMPLIFIED_LOWERING_H_ |
| 7 | 7 |
| 8 #include "src/compiler/js-graph.h" | 8 #include "src/compiler/js-graph.h" |
| 9 #include "src/compiler/machine-operator.h" | 9 #include "src/compiler/machine-operator.h" |
| 10 #include "src/compiler/node.h" | 10 #include "src/compiler/node.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 void DoAllocate(Node* node); | 30 void DoAllocate(Node* node); |
| 31 void DoLoadField(Node* node); | 31 void DoLoadField(Node* node); |
| 32 void DoStoreField(Node* node); | 32 void DoStoreField(Node* node); |
| 33 // TODO(turbofan): The output_type can be removed once the result of the | 33 // TODO(turbofan): The output_type can be removed once the result of the |
| 34 // representation analysis is stored in the node bounds. | 34 // representation analysis is stored in the node bounds. |
| 35 void DoLoadBuffer(Node* node, MachineType output_type, | 35 void DoLoadBuffer(Node* node, MachineType output_type, |
| 36 RepresentationChanger* changer); | 36 RepresentationChanger* changer); |
| 37 void DoStoreBuffer(Node* node); | 37 void DoStoreBuffer(Node* node); |
| 38 void DoLoadElement(Node* node); | 38 void DoLoadElement(Node* node); |
| 39 void DoStoreElement(Node* node); | 39 void DoStoreElement(Node* node); |
| 40 void DoObjectIsNumber(Node* node); |
| 41 void DoObjectIsSmi(Node* node); |
| 40 void DoShift(Node* node, Operator const* op); | 42 void DoShift(Node* node, Operator const* op); |
| 41 void DoStringEqual(Node* node); | 43 void DoStringEqual(Node* node); |
| 42 void DoStringLessThan(Node* node); | 44 void DoStringLessThan(Node* node); |
| 43 void DoStringLessThanOrEqual(Node* node); | 45 void DoStringLessThanOrEqual(Node* node); |
| 44 | 46 |
| 45 private: | 47 private: |
| 46 JSGraph* const jsgraph_; | 48 JSGraph* const jsgraph_; |
| 47 Zone* const zone_; | 49 Zone* const zone_; |
| 48 Type* const zero_thirtyone_range_; | 50 Type* const zero_thirtyone_range_; |
| 49 | 51 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 69 Graph* graph() { return jsgraph()->graph(); } | 71 Graph* graph() { return jsgraph()->graph(); } |
| 70 CommonOperatorBuilder* common() { return jsgraph()->common(); } | 72 CommonOperatorBuilder* common() { return jsgraph()->common(); } |
| 71 MachineOperatorBuilder* machine() { return jsgraph()->machine(); } | 73 MachineOperatorBuilder* machine() { return jsgraph()->machine(); } |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 } // namespace compiler | 76 } // namespace compiler |
| 75 } // namespace internal | 77 } // namespace internal |
| 76 } // namespace v8 | 78 } // namespace v8 |
| 77 | 79 |
| 78 #endif // V8_COMPILER_SIMPLIFIED_LOWERING_H_ | 80 #endif // V8_COMPILER_SIMPLIFIED_LOWERING_H_ |
| OLD | NEW |