| 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/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
| 9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
| 10 #include "src/globals.h" | 10 #include "src/globals.h" |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 } | 160 } |
| 161 } | 161 } |
| 162 | 162 |
| 163 bool Equals(AbstractState const* that) const; | 163 bool Equals(AbstractState const* that) const; |
| 164 void Merge(AbstractState const* that, Zone* zone); | 164 void Merge(AbstractState const* that, Zone* zone); |
| 165 | 165 |
| 166 AbstractState const* AddField(Node* object, size_t index, Node* value, | 166 AbstractState const* AddField(Node* object, size_t index, Node* value, |
| 167 Zone* zone) const; | 167 Zone* zone) const; |
| 168 AbstractState const* KillField(Node* object, size_t index, | 168 AbstractState const* KillField(Node* object, size_t index, |
| 169 Zone* zone) const; | 169 Zone* zone) const; |
| 170 AbstractState const* KillFields(Node* object, Zone* zone) const; |
| 170 Node* LookupField(Node* object, size_t index) const; | 171 Node* LookupField(Node* object, size_t index) const; |
| 171 | 172 |
| 172 AbstractState const* AddElement(Node* object, Node* index, Node* value, | 173 AbstractState const* AddElement(Node* object, Node* index, Node* value, |
| 173 Zone* zone) const; | 174 Zone* zone) const; |
| 174 AbstractState const* KillElement(Node* object, Node* index, | 175 AbstractState const* KillElement(Node* object, Node* index, |
| 175 Zone* zone) const; | 176 Zone* zone) const; |
| 176 Node* LookupElement(Node* object, Node* index) const; | 177 Node* LookupElement(Node* object, Node* index) const; |
| 177 | 178 |
| 178 AbstractState const* AddCheck(Node* node, Zone* zone) const; | 179 AbstractState const* AddCheck(Node* node, Zone* zone) const; |
| 179 Node* LookupCheck(Node* node) const; | 180 Node* LookupCheck(Node* node) const; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 JSGraph* const jsgraph_; | 232 JSGraph* const jsgraph_; |
| 232 | 233 |
| 233 DISALLOW_COPY_AND_ASSIGN(LoadElimination); | 234 DISALLOW_COPY_AND_ASSIGN(LoadElimination); |
| 234 }; | 235 }; |
| 235 | 236 |
| 236 } // namespace compiler | 237 } // namespace compiler |
| 237 } // namespace internal | 238 } // namespace internal |
| 238 } // namespace v8 | 239 } // namespace v8 |
| 239 | 240 |
| 240 #endif // V8_COMPILER_LOAD_ELIMINATION_H_ | 241 #endif // V8_COMPILER_LOAD_ELIMINATION_H_ |
| OLD | NEW |