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

Side by Side Diff: src/hydrogen.h

Issue 18758003: Turn canonicalization into a proper HPhase. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } 288 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; }
289 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } 289 const ZoneList<HPhi*>* phi_list() const { return phi_list_; }
290 HBasicBlock* entry_block() const { return entry_block_; } 290 HBasicBlock* entry_block() const { return entry_block_; }
291 HEnvironment* start_environment() const { return start_environment_; } 291 HEnvironment* start_environment() const { return start_environment_; }
292 292
293 void FinalizeUniqueValueIds(); 293 void FinalizeUniqueValueIds();
294 void InsertTypeConversions(); 294 void InsertTypeConversions();
295 void MergeRemovableSimulates(); 295 void MergeRemovableSimulates();
296 void MarkDeoptimizeOnUndefined(); 296 void MarkDeoptimizeOnUndefined();
297 bool ProcessArgumentsObject(); 297 bool ProcessArgumentsObject();
298 void Canonicalize();
299 void OrderBlocks(); 298 void OrderBlocks();
300 void AssignDominators(); 299 void AssignDominators();
301 void SetupInformativeDefinitions(); 300 void SetupInformativeDefinitions();
302 void DehoistSimpleArrayIndexComputations(); 301 void DehoistSimpleArrayIndexComputations();
303 void RestoreActualValues(); 302 void RestoreActualValues();
304 void PropagateDeoptimizingMark(); 303 void PropagateDeoptimizingMark();
305 void AnalyzeAndPruneEnvironmentLiveness(); 304 void AnalyzeAndPruneEnvironmentLiveness();
306 305
307 // Returns false if there are phi-uses of the arguments-object 306 // Returns false if there are phi-uses of the arguments-object
308 // which are not supported by the optimizing compiler. 307 // which are not supported by the optimizing compiler.
(...skipping 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after
2098 EmbeddedVector<char, 64> filename_; 2097 EmbeddedVector<char, 64> filename_;
2099 HeapStringAllocator string_allocator_; 2098 HeapStringAllocator string_allocator_;
2100 StringStream trace_; 2099 StringStream trace_;
2101 int indent_; 2100 int indent_;
2102 }; 2101 };
2103 2102
2104 2103
2105 } } // namespace v8::internal 2104 } } // namespace v8::internal
2106 2105
2107 #endif // V8_HYDROGEN_H_ 2106 #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