| 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_INTRINSIC_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
| 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
| 7 | 7 |
| 8 #include "src/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
| 9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
| 10 #include "src/compiler/graph-reducer.h" | 10 #include "src/compiler/graph-reducer.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 Reduction ReduceToLength(Node* node); | 57 Reduction ReduceToLength(Node* node); |
| 58 Reduction ReduceToNumber(Node* node); | 58 Reduction ReduceToNumber(Node* node); |
| 59 Reduction ReduceToObject(Node* node); | 59 Reduction ReduceToObject(Node* node); |
| 60 Reduction ReduceToString(Node* node); | 60 Reduction ReduceToString(Node* node); |
| 61 Reduction ReduceCall(Node* node); | 61 Reduction ReduceCall(Node* node); |
| 62 Reduction ReduceGetSuperConstructor(Node* node); | 62 Reduction ReduceGetSuperConstructor(Node* node); |
| 63 | 63 |
| 64 // TODO(turbofan): typedarray.js support; drop once TypedArrays are | 64 // TODO(turbofan): typedarray.js support; drop once TypedArrays are |
| 65 // converted to proper CodeStubAssembler based builtins. | 65 // converted to proper CodeStubAssembler based builtins. |
| 66 Reduction ReduceArrayBufferViewField(Node* node, FieldAccess const& access); | 66 Reduction ReduceArrayBufferViewField(Node* node, FieldAccess const& access); |
| 67 Reduction ReduceArrayBufferViewWasNeutered(Node* node); |
| 67 Reduction ReduceMaxSmi(Node* node); | 68 Reduction ReduceMaxSmi(Node* node); |
| 68 Reduction ReduceTypedArrayMaxSizeInHeap(Node* node); | 69 Reduction ReduceTypedArrayMaxSizeInHeap(Node* node); |
| 69 | 70 |
| 70 // TODO(turbofan): collection.js support; drop once Maps and Sets are | 71 // TODO(turbofan): collection.js support; drop once Maps and Sets are |
| 71 // converted to proper CodeStubAssembler based builtins. | 72 // converted to proper CodeStubAssembler based builtins. |
| 72 Reduction ReduceJSCollectionGetTable(Node* node); | 73 Reduction ReduceJSCollectionGetTable(Node* node); |
| 73 Reduction ReduceStringGetRawHashField(Node* node); | 74 Reduction ReduceStringGetRawHashField(Node* node); |
| 74 Reduction ReduceTheHole(Node* node); | 75 Reduction ReduceTheHole(Node* node); |
| 75 | 76 |
| 76 // TODO(turbofan): JavaScript builtins support; drop once all uses of | 77 // TODO(turbofan): JavaScript builtins support; drop once all uses of |
| (...skipping 18 matching lines...) Expand all Loading... |
| 95 | 96 |
| 96 JSGraph* const jsgraph_; | 97 JSGraph* const jsgraph_; |
| 97 DeoptimizationMode const mode_; | 98 DeoptimizationMode const mode_; |
| 98 }; | 99 }; |
| 99 | 100 |
| 100 } // namespace compiler | 101 } // namespace compiler |
| 101 } // namespace internal | 102 } // namespace internal |
| 102 } // namespace v8 | 103 } // namespace v8 |
| 103 | 104 |
| 104 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 105 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
| OLD | NEW |