| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 bool AllowCodeMotion() const; | 300 bool AllowCodeMotion() const; |
| 301 | 301 |
| 302 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } | 302 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } |
| 303 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } | 303 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } |
| 304 Handle<String> debug_name() const { return info_->function()->debug_name(); } | 304 Handle<String> debug_name() const { return info_->function()->debug_name(); } |
| 305 HEnvironment* start_environment() const { return start_environment_; } | 305 HEnvironment* start_environment() const { return start_environment_; } |
| 306 | 306 |
| 307 void InitializeInferredTypes(); | 307 void InitializeInferredTypes(); |
| 308 void InsertTypeConversions(); | 308 void InsertTypeConversions(); |
| 309 void InsertRepresentationChanges(); | 309 void InsertRepresentationChanges(); |
| 310 void ComputeMinusZeroChecks(); |
| 310 bool ProcessArgumentsObject(); | 311 bool ProcessArgumentsObject(); |
| 311 void EliminateRedundantPhis(); | 312 void EliminateRedundantPhis(); |
| 312 void Canonicalize(); | 313 void Canonicalize(); |
| 313 void OrderBlocks(); | 314 void OrderBlocks(); |
| 314 void AssignDominators(); | 315 void AssignDominators(); |
| 315 | 316 |
| 316 // Returns false if there are phi-uses of the arguments-object | 317 // Returns false if there are phi-uses of the arguments-object |
| 317 // which are not supported by the optimizing compiler. | 318 // which are not supported by the optimizing compiler. |
| 318 bool CollectPhis(); | 319 bool CollectPhis(); |
| 319 | 320 |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 const char* filename_; | 1066 const char* filename_; |
| 1066 HeapStringAllocator string_allocator_; | 1067 HeapStringAllocator string_allocator_; |
| 1067 StringStream trace_; | 1068 StringStream trace_; |
| 1068 int indent_; | 1069 int indent_; |
| 1069 }; | 1070 }; |
| 1070 | 1071 |
| 1071 | 1072 |
| 1072 } } // namespace v8::internal | 1073 } } // namespace v8::internal |
| 1073 | 1074 |
| 1074 #endif // V8_HYDROGEN_H_ | 1075 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |