| OLD | NEW |
| 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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 299 |
| 300 void FinalizeUniqueValueIds(); | 300 void FinalizeUniqueValueIds(); |
| 301 void InsertTypeConversions(); | 301 void InsertTypeConversions(); |
| 302 void MarkDeoptimizeOnUndefined(); | 302 void MarkDeoptimizeOnUndefined(); |
| 303 bool ProcessArgumentsObject(); | 303 bool ProcessArgumentsObject(); |
| 304 void OrderBlocks(); | 304 void OrderBlocks(); |
| 305 void AssignDominators(); | 305 void AssignDominators(); |
| 306 void SetupInformativeDefinitions(); | 306 void SetupInformativeDefinitions(); |
| 307 void DehoistSimpleArrayIndexComputations(); | 307 void DehoistSimpleArrayIndexComputations(); |
| 308 void RestoreActualValues(); | 308 void RestoreActualValues(); |
| 309 void PropagateDeoptimizingMark(); | |
| 310 void AnalyzeAndPruneEnvironmentLiveness(); | 309 void AnalyzeAndPruneEnvironmentLiveness(); |
| 311 | 310 |
| 312 // Returns false if there are phi-uses of the arguments-object | 311 // Returns false if there are phi-uses of the arguments-object |
| 313 // which are not supported by the optimizing compiler. | 312 // which are not supported by the optimizing compiler. |
| 314 bool CheckArgumentsPhiUses(); | 313 bool CheckArgumentsPhiUses(); |
| 315 | 314 |
| 316 // Returns false if there are phi-uses of an uninitialized const | 315 // Returns false if there are phi-uses of an uninitialized const |
| 317 // which are not supported by the optimizing compiler. | 316 // which are not supported by the optimizing compiler. |
| 318 bool CheckConstPhiUses(); | 317 bool CheckConstPhiUses(); |
| 319 | 318 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 private: | 442 private: |
| 444 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, | 443 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, |
| 445 int32_t integer_value); | 444 int32_t integer_value); |
| 446 | 445 |
| 447 template<class Phase> | 446 template<class Phase> |
| 448 void Run() { | 447 void Run() { |
| 449 Phase phase(this); | 448 Phase phase(this); |
| 450 phase.Run(); | 449 phase.Run(); |
| 451 } | 450 } |
| 452 | 451 |
| 453 void MarkAsDeoptimizingRecursively(HBasicBlock* block); | |
| 454 void NullifyUnreachableInstructions(); | |
| 455 void InsertTypeConversions(HInstruction* instr); | 452 void InsertTypeConversions(HInstruction* instr); |
| 456 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); | 453 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); |
| 457 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); | 454 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); |
| 458 void SetupInformativeDefinitionsInBlock(HBasicBlock* block); | 455 void SetupInformativeDefinitionsInBlock(HBasicBlock* block); |
| 459 void SetupInformativeDefinitionsRecursively(HBasicBlock* block); | 456 void SetupInformativeDefinitionsRecursively(HBasicBlock* block); |
| 460 | 457 |
| 461 Isolate* isolate_; | 458 Isolate* isolate_; |
| 462 int next_block_id_; | 459 int next_block_id_; |
| 463 HBasicBlock* entry_block_; | 460 HBasicBlock* entry_block_; |
| 464 HEnvironment* start_environment_; | 461 HEnvironment* start_environment_; |
| (...skipping 1638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2103 EmbeddedVector<char, 64> filename_; | 2100 EmbeddedVector<char, 64> filename_; |
| 2104 HeapStringAllocator string_allocator_; | 2101 HeapStringAllocator string_allocator_; |
| 2105 StringStream trace_; | 2102 StringStream trace_; |
| 2106 int indent_; | 2103 int indent_; |
| 2107 }; | 2104 }; |
| 2108 | 2105 |
| 2109 | 2106 |
| 2110 } } // namespace v8::internal | 2107 } } // namespace v8::internal |
| 2111 | 2108 |
| 2112 #endif // V8_HYDROGEN_H_ | 2109 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |