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 262 matching lines...) Loading... |
273 // Returns false if there are phi-uses of the arguments-object | 273 // Returns false if there are phi-uses of the arguments-object |
274 // which are not supported by the optimizing compiler. | 274 // which are not supported by the optimizing compiler. |
275 bool CheckArgumentsPhiUses(); | 275 bool CheckArgumentsPhiUses(); |
276 | 276 |
277 // Returns false if there are phi-uses of an uninitialized const | 277 // Returns false if there are phi-uses of an uninitialized const |
278 // which are not supported by the optimizing compiler. | 278 // which are not supported by the optimizing compiler. |
279 bool CheckConstPhiUses(); | 279 bool CheckConstPhiUses(); |
280 | 280 |
281 void CollectPhis(); | 281 void CollectPhis(); |
282 | 282 |
283 Handle<Code> Compile(CompilationInfo* info); | 283 Handle<Code> Compile(CompilationInfo* info, Zone* zone); |
284 | 284 |
285 void set_undefined_constant(HConstant* constant) { | 285 void set_undefined_constant(HConstant* constant) { |
286 undefined_constant_.set(constant); | 286 undefined_constant_.set(constant); |
287 } | 287 } |
288 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } | 288 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } |
289 HConstant* GetConstant1(); | 289 HConstant* GetConstant1(); |
290 HConstant* GetConstantMinus1(); | 290 HConstant* GetConstantMinus1(); |
291 HConstant* GetConstantTrue(); | 291 HConstant* GetConstantTrue(); |
292 HConstant* GetConstantFalse(); | 292 HConstant* GetConstantFalse(); |
293 HConstant* GetConstantHole(); | 293 HConstant* GetConstantHole(); |
(...skipping 1119 matching lines...) Loading... |
1413 const char* filename_; | 1413 const char* filename_; |
1414 HeapStringAllocator string_allocator_; | 1414 HeapStringAllocator string_allocator_; |
1415 StringStream trace_; | 1415 StringStream trace_; |
1416 int indent_; | 1416 int indent_; |
1417 }; | 1417 }; |
1418 | 1418 |
1419 | 1419 |
1420 } } // namespace v8::internal | 1420 } } // namespace v8::internal |
1421 | 1421 |
1422 #endif // V8_HYDROGEN_H_ | 1422 #endif // V8_HYDROGEN_H_ |
OLD | NEW |