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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 } | 325 } |
326 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } | 326 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } |
327 HConstant* GetConstant0(); | 327 HConstant* GetConstant0(); |
328 HConstant* GetConstant1(); | 328 HConstant* GetConstant1(); |
329 HConstant* GetConstantMinus1(); | 329 HConstant* GetConstantMinus1(); |
330 HConstant* GetConstantTrue(); | 330 HConstant* GetConstantTrue(); |
331 HConstant* GetConstantFalse(); | 331 HConstant* GetConstantFalse(); |
332 HConstant* GetConstantHole(); | 332 HConstant* GetConstantHole(); |
333 HConstant* GetConstantNull(); | 333 HConstant* GetConstantNull(); |
334 HConstant* GetInvalidContext(); | 334 HConstant* GetInvalidContext(); |
| 335 HConstant* GetConstantFreeSpaceMap(); |
335 | 336 |
336 bool IsStandardConstant(HConstant* constant); | 337 bool IsStandardConstant(HConstant* constant); |
337 | 338 |
338 HBasicBlock* CreateBasicBlock(); | 339 HBasicBlock* CreateBasicBlock(); |
339 HArgumentsObject* GetArgumentsObject() const { | 340 HArgumentsObject* GetArgumentsObject() const { |
340 return arguments_object_.get(); | 341 return arguments_object_.get(); |
341 } | 342 } |
342 | 343 |
343 void SetArgumentsObject(HArgumentsObject* object) { | 344 void SetArgumentsObject(HArgumentsObject* object) { |
344 arguments_object_.set(object); | 345 arguments_object_.set(object); |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 SetOncePointer<HConstant> undefined_constant_; | 483 SetOncePointer<HConstant> undefined_constant_; |
483 SetOncePointer<HConstant> constant_0_; | 484 SetOncePointer<HConstant> constant_0_; |
484 SetOncePointer<HConstant> constant_1_; | 485 SetOncePointer<HConstant> constant_1_; |
485 SetOncePointer<HConstant> constant_minus1_; | 486 SetOncePointer<HConstant> constant_minus1_; |
486 SetOncePointer<HConstant> constant_true_; | 487 SetOncePointer<HConstant> constant_true_; |
487 SetOncePointer<HConstant> constant_false_; | 488 SetOncePointer<HConstant> constant_false_; |
488 SetOncePointer<HConstant> constant_the_hole_; | 489 SetOncePointer<HConstant> constant_the_hole_; |
489 SetOncePointer<HConstant> constant_null_; | 490 SetOncePointer<HConstant> constant_null_; |
490 SetOncePointer<HConstant> constant_invalid_context_; | 491 SetOncePointer<HConstant> constant_invalid_context_; |
491 SetOncePointer<HArgumentsObject> arguments_object_; | 492 SetOncePointer<HArgumentsObject> arguments_object_; |
| 493 SetOncePointer<HConstant> constant_free_space_map_; |
492 | 494 |
493 HOsrBuilder* osr_; | 495 HOsrBuilder* osr_; |
494 | 496 |
495 CompilationInfo* info_; | 497 CompilationInfo* info_; |
496 Zone* zone_; | 498 Zone* zone_; |
497 | 499 |
498 bool is_recursive_; | 500 bool is_recursive_; |
499 bool use_optimistic_licm_; | 501 bool use_optimistic_licm_; |
500 bool has_soft_deoptimize_; | 502 bool has_soft_deoptimize_; |
501 bool depends_on_empty_array_proto_elements_; | 503 bool depends_on_empty_array_proto_elements_; |
(...skipping 1603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2105 EmbeddedVector<char, 64> filename_; | 2107 EmbeddedVector<char, 64> filename_; |
2106 HeapStringAllocator string_allocator_; | 2108 HeapStringAllocator string_allocator_; |
2107 StringStream trace_; | 2109 StringStream trace_; |
2108 int indent_; | 2110 int indent_; |
2109 }; | 2111 }; |
2110 | 2112 |
2111 | 2113 |
2112 } } // namespace v8::internal | 2114 } } // namespace v8::internal |
2113 | 2115 |
2114 #endif // V8_HYDROGEN_H_ | 2116 #endif // V8_HYDROGEN_H_ |
OLD | NEW |