Chromium Code Reviews| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 227 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } | 227 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } |
| 228 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } | 228 const ZoneList<HPhi*>* phi_list() const { return phi_list_; } |
| 229 HEnvironment* start_environment() const { return start_environment_; } | 229 HEnvironment* start_environment() const { return start_environment_; } |
| 230 | 230 |
| 231 void InitializeInferredTypes(); | 231 void InitializeInferredTypes(); |
| 232 void InsertTypeConversions(); | 232 void InsertTypeConversions(); |
| 233 void InsertRepresentationChanges(); | 233 void InsertRepresentationChanges(); |
| 234 void ComputeMinusZeroChecks(); | 234 void ComputeMinusZeroChecks(); |
| 235 bool ProcessArgumentsObject(); | 235 bool ProcessArgumentsObject(); |
| 236 void EliminateRedundantPhis(); | 236 void EliminateRedundantPhis(); |
| 237 void EliminateDeadPhis(); | |
|
Kevin Millikin (Chromium)
2011/03/08 08:51:03
"Dead" is ambiguous. Maybe "Unreachable" is more
fschneider
2011/03/08 10:03:39
Done.
| |
| 237 void Canonicalize(); | 238 void Canonicalize(); |
| 238 void OrderBlocks(); | 239 void OrderBlocks(); |
| 239 void AssignDominators(); | 240 void AssignDominators(); |
| 240 | 241 |
| 241 // Returns false if there are phi-uses of the arguments-object | 242 // Returns false if there are phi-uses of the arguments-object |
| 242 // which are not supported by the optimizing compiler. | 243 // which are not supported by the optimizing compiler. |
| 243 bool CollectPhis(); | 244 bool CollectPhis(); |
| 244 | 245 |
| 245 Handle<Code> Compile(CompilationInfo* info); | 246 Handle<Code> Compile(CompilationInfo* info); |
| 246 | 247 |
| (...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1128 const char* filename_; | 1129 const char* filename_; |
| 1129 HeapStringAllocator string_allocator_; | 1130 HeapStringAllocator string_allocator_; |
| 1130 StringStream trace_; | 1131 StringStream trace_; |
| 1131 int indent_; | 1132 int indent_; |
| 1132 }; | 1133 }; |
| 1133 | 1134 |
| 1134 | 1135 |
| 1135 } } // namespace v8::internal | 1136 } } // namespace v8::internal |
| 1136 | 1137 |
| 1137 #endif // V8_HYDROGEN_H_ | 1138 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |