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

Side by Side Diff: src/hydrogen.h

Issue 19154002: Cleanup leftover definitions in HGraph. (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 | no next file » | 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 Isolate* isolate() const { return isolate_; } 291 Isolate* isolate() const { return isolate_; }
292 Zone* zone() const { return zone_; } 292 Zone* zone() const { return zone_; }
293 CompilationInfo* info() const { return info_; } 293 CompilationInfo* info() const { return info_; }
294 294
295 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } 295 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; }
296 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } 296 const ZoneList<HPhi*>* phi_list() const { return phi_list_; }
297 HBasicBlock* entry_block() const { return entry_block_; } 297 HBasicBlock* entry_block() const { return entry_block_; }
298 HEnvironment* start_environment() const { return start_environment_; } 298 HEnvironment* start_environment() const { return start_environment_; }
299 299
300 void FinalizeUniqueValueIds(); 300 void FinalizeUniqueValueIds();
301 void InsertTypeConversions();
302 void MarkDeoptimizeOnUndefined(); 301 void MarkDeoptimizeOnUndefined();
303 bool ProcessArgumentsObject(); 302 bool ProcessArgumentsObject();
304 void OrderBlocks(); 303 void OrderBlocks();
305 void AssignDominators(); 304 void AssignDominators();
306 void SetupInformativeDefinitions(); 305 void SetupInformativeDefinitions();
307 void DehoistSimpleArrayIndexComputations();
308 void RestoreActualValues(); 306 void RestoreActualValues();
309 void PropagateDeoptimizingMark(); 307 void PropagateDeoptimizingMark();
310 void AnalyzeAndPruneEnvironmentLiveness();
311 308
312 // Returns false if there are phi-uses of the arguments-object 309 // Returns false if there are phi-uses of the arguments-object
313 // which are not supported by the optimizing compiler. 310 // which are not supported by the optimizing compiler.
314 bool CheckArgumentsPhiUses(); 311 bool CheckArgumentsPhiUses();
315 312
316 // Returns false if there are phi-uses of an uninitialized const 313 // Returns false if there are phi-uses of an uninitialized const
317 // which are not supported by the optimizing compiler. 314 // which are not supported by the optimizing compiler.
318 bool CheckConstPhiUses(); 315 bool CheckConstPhiUses();
319 316
320 void CollectPhis(); 317 void CollectPhis();
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 int32_t integer_value); 442 int32_t integer_value);
446 443
447 template<class Phase> 444 template<class Phase>
448 void Run() { 445 void Run() {
449 Phase phase(this); 446 Phase phase(this);
450 phase.Run(); 447 phase.Run();
451 } 448 }
452 449
453 void MarkAsDeoptimizingRecursively(HBasicBlock* block); 450 void MarkAsDeoptimizingRecursively(HBasicBlock* block);
454 void NullifyUnreachableInstructions(); 451 void NullifyUnreachableInstructions();
455 void InsertTypeConversions(HInstruction* instr);
456 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); 452 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi);
457 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); 453 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor);
458 void SetupInformativeDefinitionsInBlock(HBasicBlock* block); 454 void SetupInformativeDefinitionsInBlock(HBasicBlock* block);
459 void SetupInformativeDefinitionsRecursively(HBasicBlock* block); 455 void SetupInformativeDefinitionsRecursively(HBasicBlock* block);
460 456
461 Isolate* isolate_; 457 Isolate* isolate_;
462 int next_block_id_; 458 int next_block_id_;
463 HBasicBlock* entry_block_; 459 HBasicBlock* entry_block_;
464 HEnvironment* start_environment_; 460 HEnvironment* start_environment_;
465 ZoneList<HBasicBlock*> blocks_; 461 ZoneList<HBasicBlock*> blocks_;
(...skipping 1637 matching lines...) Expand 10 before | Expand all | Expand 10 after
2103 EmbeddedVector<char, 64> filename_; 2099 EmbeddedVector<char, 64> filename_;
2104 HeapStringAllocator string_allocator_; 2100 HeapStringAllocator string_allocator_;
2105 StringStream trace_; 2101 StringStream trace_;
2106 int indent_; 2102 int indent_;
2107 }; 2103 };
2108 2104
2109 2105
2110 } } // namespace v8::internal 2106 } } // namespace v8::internal
2111 2107
2112 #endif // V8_HYDROGEN_H_ 2108 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698