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

Side by Side Diff: src/hydrogen.h

Issue 11962041: Revert r13409 ("Make the array bounds check elimination phase optional (and set the foundation for … (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 11 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/code-stubs-hydrogen.cc ('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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 bool ProcessArgumentsObject(); 266 bool ProcessArgumentsObject();
267 void EliminateRedundantPhis(); 267 void EliminateRedundantPhis();
268 void EliminateUnreachablePhis(); 268 void EliminateUnreachablePhis();
269 void Canonicalize(); 269 void Canonicalize();
270 void OrderBlocks(); 270 void OrderBlocks();
271 void AssignDominators(); 271 void AssignDominators();
272 void ReplaceCheckedValues(); 272 void ReplaceCheckedValues();
273 void EliminateRedundantBoundsChecks(); 273 void EliminateRedundantBoundsChecks();
274 void DehoistSimpleArrayIndexComputations(); 274 void DehoistSimpleArrayIndexComputations();
275 void DeadCodeElimination(); 275 void DeadCodeElimination();
276 void ApplyActualValues();
277 void PropagateDeoptimizingMark(); 276 void PropagateDeoptimizingMark();
278 void EliminateUnusedInstructions(); 277 void EliminateUnusedInstructions();
279 278
280 // Returns false if there are phi-uses of the arguments-object 279 // Returns false if there are phi-uses of the arguments-object
281 // which are not supported by the optimizing compiler. 280 // which are not supported by the optimizing compiler.
282 bool CheckArgumentsPhiUses(); 281 bool CheckArgumentsPhiUses();
283 282
284 // Returns false if there are phi-uses of an uninitialized const 283 // Returns false if there are phi-uses of an uninitialized const
285 // which are not supported by the optimizing compiler. 284 // which are not supported by the optimizing compiler.
286 bool CheckConstPhiUses(); 285 bool CheckConstPhiUses();
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 ElementsKind elements_kind, 872 ElementsKind elements_kind,
874 bool is_store); 873 bool is_store);
875 874
876 HInstruction* BuildUncheckedMonomorphicElementAccess( 875 HInstruction* BuildUncheckedMonomorphicElementAccess(
877 HValue* object, 876 HValue* object,
878 HValue* key, 877 HValue* key,
879 HValue* val, 878 HValue* val,
880 HCheckMaps* mapcheck, 879 HCheckMaps* mapcheck,
881 bool is_js_array, 880 bool is_js_array,
882 ElementsKind elements_kind, 881 ElementsKind elements_kind,
883 bool is_store, 882 bool is_store);
884 Representation checked_index_representation = Representation::None());
885 883
886 private: 884 private:
887 HGraphBuilder(); 885 HGraphBuilder();
888 CompilationInfo* info_; 886 CompilationInfo* info_;
889 HGraph* graph_; 887 HGraph* graph_;
890 HBasicBlock* current_block_; 888 HBasicBlock* current_block_;
891 }; 889 };
892 890
893 891
894 class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor { 892 class HOptimizedGraphBuilder: public HGraphBuilder, public AstVisitor {
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
1557 const char* filename_; 1555 const char* filename_;
1558 HeapStringAllocator string_allocator_; 1556 HeapStringAllocator string_allocator_;
1559 StringStream trace_; 1557 StringStream trace_;
1560 int indent_; 1558 int indent_;
1561 }; 1559 };
1562 1560
1563 1561
1564 } } // namespace v8::internal 1562 } } // namespace v8::internal
1565 1563
1566 #endif // V8_HYDROGEN_H_ 1564 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698