| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 bool ProcessArgumentsObject(); | 221 bool ProcessArgumentsObject(); |
| 222 void EliminateRedundantPhis(); | 222 void EliminateRedundantPhis(); |
| 223 void EliminateUnreachablePhis(); | 223 void EliminateUnreachablePhis(); |
| 224 void Canonicalize(); | 224 void Canonicalize(); |
| 225 void OrderBlocks(); | 225 void OrderBlocks(); |
| 226 void AssignDominators(); | 226 void AssignDominators(); |
| 227 void ReplaceCheckedValues(); | 227 void ReplaceCheckedValues(); |
| 228 | 228 |
| 229 // Returns false if there are phi-uses of the arguments-object | 229 // Returns false if there are phi-uses of the arguments-object |
| 230 // which are not supported by the optimizing compiler. | 230 // which are not supported by the optimizing compiler. |
| 231 bool CheckPhis(); |
| 232 |
| 233 // Returns false if there are phi-uses of hole values comming |
| 234 // from uninitialized consts. |
| 231 bool CollectPhis(); | 235 bool CollectPhis(); |
| 232 | 236 |
| 233 Handle<Code> Compile(CompilationInfo* info); | 237 Handle<Code> Compile(CompilationInfo* info); |
| 234 | 238 |
| 235 void set_undefined_constant(HConstant* constant) { | 239 void set_undefined_constant(HConstant* constant) { |
| 236 undefined_constant_.set(constant); | 240 undefined_constant_.set(constant); |
| 237 } | 241 } |
| 238 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } | 242 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } |
| 239 HConstant* GetConstant1(); | 243 HConstant* GetConstant1(); |
| 240 HConstant* GetConstantMinus1(); | 244 HConstant* GetConstantMinus1(); |
| (...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 const char* filename_; | 1200 const char* filename_; |
| 1197 HeapStringAllocator string_allocator_; | 1201 HeapStringAllocator string_allocator_; |
| 1198 StringStream trace_; | 1202 StringStream trace_; |
| 1199 int indent_; | 1203 int indent_; |
| 1200 }; | 1204 }; |
| 1201 | 1205 |
| 1202 | 1206 |
| 1203 } } // namespace v8::internal | 1207 } } // namespace v8::internal |
| 1204 | 1208 |
| 1205 #endif // V8_HYDROGEN_H_ | 1209 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |