| 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_JS_TYPED_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_ |
| 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ | 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ |
| 7 | 7 |
| 8 #include "src/compiler/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
| 9 #include "src/compiler/opcodes.h" | 9 #include "src/compiler/opcodes.h" |
| 10 | 10 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 Reduction ReduceJSForInNext(Node* node); | 68 Reduction ReduceJSForInNext(Node* node); |
| 69 Reduction ReduceJSForInPrepare(Node* node); | 69 Reduction ReduceJSForInPrepare(Node* node); |
| 70 Reduction ReduceJSForInStep(Node* node); | 70 Reduction ReduceJSForInStep(Node* node); |
| 71 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); | 71 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); |
| 72 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); | 72 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); |
| 73 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, | 73 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, |
| 74 const Operator* shift_op); | 74 const Operator* shift_op); |
| 75 | 75 |
| 76 Node* Word32Shl(Node* const lhs, int32_t const rhs); | 76 Node* Word32Shl(Node* const lhs, int32_t const rhs); |
| 77 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); | 77 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); |
| 78 Node* AllocateAliasedArguments(Node* effect, Node* control, Node* frame_state, |
| 79 Node* context, Handle<SharedFunctionInfo>, |
| 80 bool* has_aliased_arguments); |
| 78 | 81 |
| 79 Factory* factory() const; | 82 Factory* factory() const; |
| 80 Graph* graph() const; | 83 Graph* graph() const; |
| 81 JSGraph* jsgraph() const { return jsgraph_; } | 84 JSGraph* jsgraph() const { return jsgraph_; } |
| 82 Isolate* isolate() const; | 85 Isolate* isolate() const; |
| 83 JSOperatorBuilder* javascript() const; | 86 JSOperatorBuilder* javascript() const; |
| 84 CommonOperatorBuilder* common() const; | 87 CommonOperatorBuilder* common() const; |
| 85 SimplifiedOperatorBuilder* simplified() const; | 88 SimplifiedOperatorBuilder* simplified() const; |
| 86 MachineOperatorBuilder* machine() const; | 89 MachineOperatorBuilder* machine() const; |
| 87 | 90 |
| 88 // Limits up to which context allocations are inlined. | 91 // Limits up to which context allocations are inlined. |
| 89 static const int kFunctionContextAllocationLimit = 16; | 92 static const int kFunctionContextAllocationLimit = 16; |
| 90 static const int kBlockContextAllocationLimit = 16; | 93 static const int kBlockContextAllocationLimit = 16; |
| 91 | 94 |
| 92 JSGraph* jsgraph_; | 95 JSGraph* jsgraph_; |
| 93 Type* shifted_int32_ranges_[4]; | 96 Type* shifted_int32_ranges_[4]; |
| 94 }; | 97 }; |
| 95 | 98 |
| 96 } // namespace compiler | 99 } // namespace compiler |
| 97 } // namespace internal | 100 } // namespace internal |
| 98 } // namespace v8 | 101 } // namespace v8 |
| 99 | 102 |
| 100 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 103 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
| OLD | NEW |