Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: src/hydrogen.h

Issue 159963002: More check elimination improvements including partial learning on false branches of CompareMap and b (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code cleanup Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698