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

Side by Side Diff: src/hydrogen.h

Issue 11088027: Added a simple dead code removal phase. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed review comments Created 8 years, 2 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 | « src/flag-definitions.h ('k') | 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 void ComputeSafeUint32Operations(); 261 void ComputeSafeUint32Operations();
262 bool ProcessArgumentsObject(); 262 bool ProcessArgumentsObject();
263 void EliminateRedundantPhis(); 263 void EliminateRedundantPhis();
264 void EliminateUnreachablePhis(); 264 void EliminateUnreachablePhis();
265 void Canonicalize(); 265 void Canonicalize();
266 void OrderBlocks(); 266 void OrderBlocks();
267 void AssignDominators(); 267 void AssignDominators();
268 void ReplaceCheckedValues(); 268 void ReplaceCheckedValues();
269 void EliminateRedundantBoundsChecks(); 269 void EliminateRedundantBoundsChecks();
270 void DehoistSimpleArrayIndexComputations(); 270 void DehoistSimpleArrayIndexComputations();
271 void DeadCodeElimination();
271 void PropagateDeoptimizingMark(); 272 void PropagateDeoptimizingMark();
272 273
273 // Returns false if there are phi-uses of the arguments-object 274 // Returns false if there are phi-uses of the arguments-object
274 // which are not supported by the optimizing compiler. 275 // which are not supported by the optimizing compiler.
275 bool CheckArgumentsPhiUses(); 276 bool CheckArgumentsPhiUses();
276 277
277 // Returns false if there are phi-uses of an uninitialized const 278 // Returns false if there are phi-uses of an uninitialized const
278 // which are not supported by the optimizing compiler. 279 // which are not supported by the optimizing compiler.
279 bool CheckConstPhiUses(); 280 bool CheckConstPhiUses();
280 281
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1486 const char* filename_; 1487 const char* filename_;
1487 HeapStringAllocator string_allocator_; 1488 HeapStringAllocator string_allocator_;
1488 StringStream trace_; 1489 StringStream trace_;
1489 int indent_; 1490 int indent_;
1490 }; 1491 };
1491 1492
1492 1493
1493 } } // namespace v8::internal 1494 } } // namespace v8::internal
1494 1495
1495 #endif // V8_HYDROGEN_H_ 1496 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698