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_CHANGE_LOWERING_H_ | 5 #ifndef V8_COMPILER_CHANGE_LOWERING_H_ |
6 #define V8_COMPILER_CHANGE_LOWERING_H_ | 6 #define V8_COMPILER_CHANGE_LOWERING_H_ |
7 | 7 |
8 #include "src/compiler/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 Reduction ChangeTaggedToUI32(Node* value, Node* control, | 49 Reduction ChangeTaggedToUI32(Node* value, Node* control, |
50 Signedness signedness); | 50 Signedness signedness); |
51 Reduction ChangeUint32ToTagged(Node* value, Node* control); | 51 Reduction ChangeUint32ToTagged(Node* value, Node* control); |
52 | 52 |
53 Reduction LoadField(Node* node); | 53 Reduction LoadField(Node* node); |
54 Reduction StoreField(Node* node); | 54 Reduction StoreField(Node* node); |
55 Reduction LoadElement(Node* node); | 55 Reduction LoadElement(Node* node); |
56 Reduction StoreElement(Node* node); | 56 Reduction StoreElement(Node* node); |
57 Reduction Allocate(Node* node); | 57 Reduction Allocate(Node* node); |
58 | 58 |
| 59 Node* IsSmi(Node* value); |
| 60 Node* LoadHeapObjectMap(Node* object, Node* control); |
| 61 Node* LoadMapInstanceType(Node* map); |
| 62 |
| 63 Reduction ObjectIsNumber(Node* node); |
| 64 Reduction ObjectIsReceiver(Node* node); |
| 65 Reduction ObjectIsSmi(Node* node); |
| 66 |
59 Node* ComputeIndex(const ElementAccess& access, Node* const key); | 67 Node* ComputeIndex(const ElementAccess& access, Node* const key); |
60 Graph* graph() const; | 68 Graph* graph() const; |
61 Isolate* isolate() const; | 69 Isolate* isolate() const; |
62 JSGraph* jsgraph() const { return jsgraph_; } | 70 JSGraph* jsgraph() const { return jsgraph_; } |
63 CommonOperatorBuilder* common() const; | 71 CommonOperatorBuilder* common() const; |
64 MachineOperatorBuilder* machine() const; | 72 MachineOperatorBuilder* machine() const; |
65 | 73 |
66 JSGraph* const jsgraph_; | 74 JSGraph* const jsgraph_; |
67 SetOncePointer<const Operator> allocate_heap_number_operator_; | 75 SetOncePointer<const Operator> allocate_heap_number_operator_; |
68 }; | 76 }; |
69 | 77 |
70 } // namespace compiler | 78 } // namespace compiler |
71 } // namespace internal | 79 } // namespace internal |
72 } // namespace v8 | 80 } // namespace v8 |
73 | 81 |
74 #endif // V8_COMPILER_CHANGE_LOWERING_H_ | 82 #endif // V8_COMPILER_CHANGE_LOWERING_H_ |
OLD | NEW |