| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 void InsertRepresentationChanges(); | 262 void InsertRepresentationChanges(); |
| 263 void MarkDeoptimizeOnUndefined(); | 263 void MarkDeoptimizeOnUndefined(); |
| 264 void ComputeMinusZeroChecks(); | 264 void ComputeMinusZeroChecks(); |
| 265 void ComputeSafeUint32Operations(); | 265 void ComputeSafeUint32Operations(); |
| 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 SetupInformativeDefinitions(); |
| 273 void EliminateRedundantBoundsChecks(); | 273 void EliminateRedundantBoundsChecks(); |
| 274 void DehoistSimpleArrayIndexComputations(); | 274 void DehoistSimpleArrayIndexComputations(); |
| 275 void DeadCodeElimination(); | 275 void DeadCodeElimination(); |
| 276 void RestoreActualValues(); | 276 void RestoreActualValues(); |
| 277 void PropagateDeoptimizingMark(); | 277 void PropagateDeoptimizingMark(); |
| 278 void EliminateUnusedInstructions(); | 278 void EliminateUnusedInstructions(); |
| 279 | 279 |
| 280 // Returns false if there are phi-uses of the arguments-object | 280 // Returns false if there are phi-uses of the arguments-object |
| 281 // which are not supported by the optimizing compiler. | 281 // which are not supported by the optimizing compiler. |
| 282 bool CheckArgumentsPhiUses(); | 282 bool CheckArgumentsPhiUses(); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); | 391 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); |
| 392 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); | 392 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); |
| 393 void InsertRepresentationChangeForUse(HValue* value, | 393 void InsertRepresentationChangeForUse(HValue* value, |
| 394 HValue* use_value, | 394 HValue* use_value, |
| 395 int use_index, | 395 int use_index, |
| 396 Representation to); | 396 Representation to); |
| 397 void InsertRepresentationChangesForValue(HValue* value); | 397 void InsertRepresentationChangesForValue(HValue* value); |
| 398 void InferTypes(ZoneList<HValue*>* worklist); | 398 void InferTypes(ZoneList<HValue*>* worklist); |
| 399 void InitializeInferredTypes(int from_inclusive, int to_inclusive); | 399 void InitializeInferredTypes(int from_inclusive, int to_inclusive); |
| 400 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); | 400 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); |
| 401 void SetupInformativeDefinitionsInBlock(HBasicBlock* block); |
| 402 void SetupInformativeDefinitionsRecursively(HBasicBlock* block); |
| 401 void EliminateRedundantBoundsChecks(HBasicBlock* bb, BoundsCheckTable* table); | 403 void EliminateRedundantBoundsChecks(HBasicBlock* bb, BoundsCheckTable* table); |
| 402 | 404 |
| 403 Isolate* isolate_; | 405 Isolate* isolate_; |
| 404 int next_block_id_; | 406 int next_block_id_; |
| 405 HBasicBlock* entry_block_; | 407 HBasicBlock* entry_block_; |
| 406 HEnvironment* start_environment_; | 408 HEnvironment* start_environment_; |
| 407 ZoneList<HBasicBlock*> blocks_; | 409 ZoneList<HBasicBlock*> blocks_; |
| 408 ZoneList<HValue*> values_; | 410 ZoneList<HValue*> values_; |
| 409 ZoneList<HPhi*>* phi_list_; | 411 ZoneList<HPhi*>* phi_list_; |
| 410 ZoneList<HInstruction*>* uint32_instructions_; | 412 ZoneList<HInstruction*>* uint32_instructions_; |
| (...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1577 const char* filename_; | 1579 const char* filename_; |
| 1578 HeapStringAllocator string_allocator_; | 1580 HeapStringAllocator string_allocator_; |
| 1579 StringStream trace_; | 1581 StringStream trace_; |
| 1580 int indent_; | 1582 int indent_; |
| 1581 }; | 1583 }; |
| 1582 | 1584 |
| 1583 | 1585 |
| 1584 } } // namespace v8::internal | 1586 } } // namespace v8::internal |
| 1585 | 1587 |
| 1586 #endif // V8_HYDROGEN_H_ | 1588 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |