OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 bool IsUnreachable() const { return !is_reachable_; } | 167 bool IsUnreachable() const { return !is_reachable_; } |
168 bool IsReachable() const { return is_reachable_; } | 168 bool IsReachable() const { return is_reachable_; } |
169 | 169 |
170 bool IsLoopSuccessorDominator() const { | 170 bool IsLoopSuccessorDominator() const { |
171 return dominates_loop_successors_; | 171 return dominates_loop_successors_; |
172 } | 172 } |
173 void MarkAsLoopSuccessorDominator() { | 173 void MarkAsLoopSuccessorDominator() { |
174 dominates_loop_successors_ = true; | 174 dominates_loop_successors_ = true; |
175 } | 175 } |
176 | 176 |
| 177 void MarkSuccEdgeUnreachable(int succ); |
| 178 |
177 inline Zone* zone() const; | 179 inline Zone* zone() const; |
178 | 180 |
179 #ifdef DEBUG | 181 #ifdef DEBUG |
180 void Verify(); | 182 void Verify(); |
181 #endif | 183 #endif |
182 | 184 |
183 protected: | 185 protected: |
184 friend class HGraphBuilder; | 186 friend class HGraphBuilder; |
185 | 187 |
186 HSimulate* CreateSimulate(BailoutId ast_id, RemovableSimulate removable); | 188 HSimulate* CreateSimulate(BailoutId ast_id, RemovableSimulate removable); |
(...skipping 2550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2737 } | 2739 } |
2738 | 2740 |
2739 private: | 2741 private: |
2740 HGraphBuilder* builder_; | 2742 HGraphBuilder* builder_; |
2741 }; | 2743 }; |
2742 | 2744 |
2743 | 2745 |
2744 } } // namespace v8::internal | 2746 } } // namespace v8::internal |
2745 | 2747 |
2746 #endif // V8_HYDROGEN_H_ | 2748 #endif // V8_HYDROGEN_H_ |
OLD | NEW |