| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 Zone* zone() { return isolate_->zone(); } | 207 Zone* zone() { return isolate_->zone(); } |
| 208 | 208 |
| 209 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } | 209 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } |
| 210 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } | 210 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } |
| 211 HBasicBlock* entry_block() const { return entry_block_; } | 211 HBasicBlock* entry_block() const { return entry_block_; } |
| 212 HEnvironment* start_environment() const { return start_environment_; } | 212 HEnvironment* start_environment() const { return start_environment_; } |
| 213 | 213 |
| 214 void InitializeInferredTypes(); | 214 void InitializeInferredTypes(); |
| 215 void InsertTypeConversions(); | 215 void InsertTypeConversions(); |
| 216 void InsertRepresentationChanges(); | 216 void InsertRepresentationChanges(); |
| 217 void MarkDeoptimizeOnUndefined(); |
| 217 void ComputeMinusZeroChecks(); | 218 void ComputeMinusZeroChecks(); |
| 218 bool ProcessArgumentsObject(); | 219 bool ProcessArgumentsObject(); |
| 219 void EliminateRedundantPhis(); | 220 void EliminateRedundantPhis(); |
| 220 void EliminateUnreachablePhis(); | 221 void EliminateUnreachablePhis(); |
| 221 void Canonicalize(); | 222 void Canonicalize(); |
| 222 void OrderBlocks(); | 223 void OrderBlocks(); |
| 223 void AssignDominators(); | 224 void AssignDominators(); |
| 224 void ReplaceCheckedValues(); | 225 void ReplaceCheckedValues(); |
| 225 | 226 |
| 226 // Returns false if there are phi-uses of the arguments-object | 227 // Returns false if there are phi-uses of the arguments-object |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 HBasicBlock* loop_header); | 271 HBasicBlock* loop_header); |
| 271 void PostorderLoopBlocks(HLoopInformation* loop, | 272 void PostorderLoopBlocks(HLoopInformation* loop, |
| 272 BitVector* visited, | 273 BitVector* visited, |
| 273 ZoneList<HBasicBlock*>* order, | 274 ZoneList<HBasicBlock*>* order, |
| 274 HBasicBlock* loop_header); | 275 HBasicBlock* loop_header); |
| 275 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, | 276 HConstant* GetConstant(SetOncePointer<HConstant>* pointer, |
| 276 Object* value); | 277 Object* value); |
| 277 | 278 |
| 278 void InsertTypeConversions(HInstruction* instr); | 279 void InsertTypeConversions(HInstruction* instr); |
| 279 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); | 280 void PropagateMinusZeroChecks(HValue* value, BitVector* visited); |
| 281 void RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi); |
| 280 void InsertRepresentationChangeForUse(HValue* value, | 282 void InsertRepresentationChangeForUse(HValue* value, |
| 281 HValue* use, | 283 HValue* use, |
| 282 Representation to); | 284 Representation to); |
| 283 void InsertRepresentationChangesForValue(HValue* current, | 285 void InsertRepresentationChangesForValue(HValue* current, |
| 284 ZoneList<HValue*>* value_list, | 286 ZoneList<HValue*>* value_list, |
| 285 ZoneList<Representation>* rep_list); | 287 ZoneList<Representation>* rep_list); |
| 286 void InferTypes(ZoneList<HValue*>* worklist); | 288 void InferTypes(ZoneList<HValue*>* worklist); |
| 287 void InitializeInferredTypes(int from_inclusive, int to_inclusive); | 289 void InitializeInferredTypes(int from_inclusive, int to_inclusive); |
| 288 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); | 290 void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor); |
| 289 | 291 |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1141 const char* filename_; | 1143 const char* filename_; |
| 1142 HeapStringAllocator string_allocator_; | 1144 HeapStringAllocator string_allocator_; |
| 1143 StringStream trace_; | 1145 StringStream trace_; |
| 1144 int indent_; | 1146 int indent_; |
| 1145 }; | 1147 }; |
| 1146 | 1148 |
| 1147 | 1149 |
| 1148 } } // namespace v8::internal | 1150 } } // namespace v8::internal |
| 1149 | 1151 |
| 1150 #endif // V8_HYDROGEN_H_ | 1152 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |