| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 Isolate* isolate() const { return isolate_; } | 284 Isolate* isolate() const { return isolate_; } |
| 285 Zone* zone() const { return zone_; } | 285 Zone* zone() const { return zone_; } |
| 286 CompilationInfo* info() const { return info_; } | 286 CompilationInfo* info() const { return info_; } |
| 287 | 287 |
| 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 InitializeInferredTypes(); | |
| 295 void InsertTypeConversions(); | 294 void InsertTypeConversions(); |
| 296 void MergeRemovableSimulates(); | 295 void MergeRemovableSimulates(); |
| 297 void InsertRepresentationChanges(); | 296 void InsertRepresentationChanges(); |
| 298 void MarkDeoptimizeOnUndefined(); | 297 void MarkDeoptimizeOnUndefined(); |
| 299 void ComputeMinusZeroChecks(); | 298 void ComputeMinusZeroChecks(); |
| 300 bool ProcessArgumentsObject(); | 299 bool ProcessArgumentsObject(); |
| 301 void EliminateRedundantPhis(); | 300 void EliminateRedundantPhis(); |
| 302 void Canonicalize(); | 301 void Canonicalize(); |
| 303 void OrderBlocks(); | 302 void OrderBlocks(); |
| 304 void AssignDominators(); | 303 void AssignDominators(); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 void MarkAsDeoptimizingRecursively(HBasicBlock* block); | 452 void MarkAsDeoptimizingRecursively(HBasicBlock* block); |
| 454 void NullifyUnreachableInstructions(); | 453 void NullifyUnreachableInstructions(); |
| 455 void InsertTypeConversions(HInstruction* instr); | 454 void InsertTypeConversions(HInstruction* instr); |
| 456 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); | 455 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); |
| 457 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); | 456 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); |
| 458 void InsertRepresentationChangeForUse(HValue* value, | 457 void InsertRepresentationChangeForUse(HValue* value, |
| 459 HValue* use_value, | 458 HValue* use_value, |
| 460 int use_index, | 459 int use_index, |
| 461 Representation to); | 460 Representation to); |
| 462 void InsertRepresentationChangesForValue(HValue* value); | 461 void InsertRepresentationChangesForValue(HValue* value); |
| 463 void InferTypes(ZoneList<HValue*>* worklist); | |
| 464 void InitializeInferredTypes(int from_inclusive, int to_inclusive); | |
| 465 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); | 462 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); |
| 466 void SetupInformativeDefinitionsInBlock(HBasicBlock* block); | 463 void SetupInformativeDefinitionsInBlock(HBasicBlock* block); |
| 467 void SetupInformativeDefinitionsRecursively(HBasicBlock* block); | 464 void SetupInformativeDefinitionsRecursively(HBasicBlock* block); |
| 468 void EliminateRedundantBoundsChecks(HBasicBlock* bb, BoundsCheckTable* table); | 465 void EliminateRedundantBoundsChecks(HBasicBlock* bb, BoundsCheckTable* table); |
| 469 | 466 |
| 470 Isolate* isolate_; | 467 Isolate* isolate_; |
| 471 int next_block_id_; | 468 int next_block_id_; |
| 472 HBasicBlock* entry_block_; | 469 HBasicBlock* entry_block_; |
| 473 HEnvironment* start_environment_; | 470 HEnvironment* start_environment_; |
| 474 ZoneList<HBasicBlock*> blocks_; | 471 ZoneList<HBasicBlock*> blocks_; |
| (...skipping 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2101 EmbeddedVector<char, 64> filename_; | 2098 EmbeddedVector<char, 64> filename_; |
| 2102 HeapStringAllocator string_allocator_; | 2099 HeapStringAllocator string_allocator_; |
| 2103 StringStream trace_; | 2100 StringStream trace_; |
| 2104 int indent_; | 2101 int indent_; |
| 2105 }; | 2102 }; |
| 2106 | 2103 |
| 2107 | 2104 |
| 2108 } } // namespace v8::internal | 2105 } } // namespace v8::internal |
| 2109 | 2106 |
| 2110 #endif // V8_HYDROGEN_H_ | 2107 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |