| OLD | NEW | 
|---|
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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_LOAD_ELIMINATION_H_ | 5 #ifndef V8_COMPILER_LOAD_ELIMINATION_H_ | 
| 6 #define V8_COMPILER_LOAD_ELIMINATION_H_ | 6 #define V8_COMPILER_LOAD_ELIMINATION_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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 145     void Set(Node* node, AbstractState const* state); | 145     void Set(Node* node, AbstractState const* state); | 
| 146 | 146 | 
| 147     Zone* zone() const { return info_for_node_.get_allocator().zone(); } | 147     Zone* zone() const { return info_for_node_.get_allocator().zone(); } | 
| 148 | 148 | 
| 149    private: | 149    private: | 
| 150     ZoneVector<AbstractState const*> info_for_node_; | 150     ZoneVector<AbstractState const*> info_for_node_; | 
| 151   }; | 151   }; | 
| 152 | 152 | 
| 153   Reduction ReduceCheckMaps(Node* node); | 153   Reduction ReduceCheckMaps(Node* node); | 
| 154   Reduction ReduceEnsureWritableFastElements(Node* node); | 154   Reduction ReduceEnsureWritableFastElements(Node* node); | 
|  | 155   Reduction ReduceMaybeGrowFastElements(Node* node); | 
| 155   Reduction ReduceTransitionElementsKind(Node* node); | 156   Reduction ReduceTransitionElementsKind(Node* node); | 
| 156   Reduction ReduceLoadField(Node* node); | 157   Reduction ReduceLoadField(Node* node); | 
| 157   Reduction ReduceStoreField(Node* node); | 158   Reduction ReduceStoreField(Node* node); | 
| 158   Reduction ReduceLoadElement(Node* node); | 159   Reduction ReduceLoadElement(Node* node); | 
| 159   Reduction ReduceStoreElement(Node* node); | 160   Reduction ReduceStoreElement(Node* node); | 
| 160   Reduction ReduceStoreTypedElement(Node* node); | 161   Reduction ReduceStoreTypedElement(Node* node); | 
| 161   Reduction ReduceEffectPhi(Node* node); | 162   Reduction ReduceEffectPhi(Node* node); | 
| 162   Reduction ReduceStart(Node* node); | 163   Reduction ReduceStart(Node* node); | 
| 163   Reduction ReduceOtherNode(Node* node); | 164   Reduction ReduceOtherNode(Node* node); | 
| 164 | 165 | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
| 178   JSGraph* const jsgraph_; | 179   JSGraph* const jsgraph_; | 
| 179 | 180 | 
| 180   DISALLOW_COPY_AND_ASSIGN(LoadElimination); | 181   DISALLOW_COPY_AND_ASSIGN(LoadElimination); | 
| 181 }; | 182 }; | 
| 182 | 183 | 
| 183 }  // namespace compiler | 184 }  // namespace compiler | 
| 184 }  // namespace internal | 185 }  // namespace internal | 
| 185 }  // namespace v8 | 186 }  // namespace v8 | 
| 186 | 187 | 
| 187 #endif  // V8_COMPILER_LOAD_ELIMINATION_H_ | 188 #endif  // V8_COMPILER_LOAD_ELIMINATION_H_ | 
| OLD | NEW | 
|---|