| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 void set_undefined_constant(HConstant* constant) { | 294 void set_undefined_constant(HConstant* constant) { |
| 295 undefined_constant_.set(constant); | 295 undefined_constant_.set(constant); |
| 296 } | 296 } |
| 297 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } | 297 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } |
| 298 HConstant* GetConstant0(); | 298 HConstant* GetConstant0(); |
| 299 HConstant* GetConstant1(); | 299 HConstant* GetConstant1(); |
| 300 HConstant* GetConstantMinus1(); | 300 HConstant* GetConstantMinus1(); |
| 301 HConstant* GetConstantTrue(); | 301 HConstant* GetConstantTrue(); |
| 302 HConstant* GetConstantFalse(); | 302 HConstant* GetConstantFalse(); |
| 303 HConstant* GetConstantHole(); | 303 HConstant* GetConstantHole(); |
| 304 HConstant* GetInvalidContext(); |
| 304 | 305 |
| 305 HBasicBlock* CreateBasicBlock(); | 306 HBasicBlock* CreateBasicBlock(); |
| 306 HArgumentsObject* GetArgumentsObject() const { | 307 HArgumentsObject* GetArgumentsObject() const { |
| 307 return arguments_object_.get(); | 308 return arguments_object_.get(); |
| 308 } | 309 } |
| 309 | 310 |
| 310 void SetArgumentsObject(HArgumentsObject* object) { | 311 void SetArgumentsObject(HArgumentsObject* object) { |
| 311 arguments_object_.set(object); | 312 arguments_object_.set(object); |
| 312 } | 313 } |
| 313 | 314 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 ZoneList<HValue*> values_; | 416 ZoneList<HValue*> values_; |
| 416 ZoneList<HPhi*>* phi_list_; | 417 ZoneList<HPhi*>* phi_list_; |
| 417 ZoneList<HInstruction*>* uint32_instructions_; | 418 ZoneList<HInstruction*>* uint32_instructions_; |
| 418 SetOncePointer<HConstant> undefined_constant_; | 419 SetOncePointer<HConstant> undefined_constant_; |
| 419 SetOncePointer<HConstant> constant_0_; | 420 SetOncePointer<HConstant> constant_0_; |
| 420 SetOncePointer<HConstant> constant_1_; | 421 SetOncePointer<HConstant> constant_1_; |
| 421 SetOncePointer<HConstant> constant_minus1_; | 422 SetOncePointer<HConstant> constant_minus1_; |
| 422 SetOncePointer<HConstant> constant_true_; | 423 SetOncePointer<HConstant> constant_true_; |
| 423 SetOncePointer<HConstant> constant_false_; | 424 SetOncePointer<HConstant> constant_false_; |
| 424 SetOncePointer<HConstant> constant_hole_; | 425 SetOncePointer<HConstant> constant_hole_; |
| 426 SetOncePointer<HConstant> constant_invalid_context_; |
| 425 SetOncePointer<HArgumentsObject> arguments_object_; | 427 SetOncePointer<HArgumentsObject> arguments_object_; |
| 426 | 428 |
| 427 SetOncePointer<HBasicBlock> osr_loop_entry_; | 429 SetOncePointer<HBasicBlock> osr_loop_entry_; |
| 428 SetOncePointer<ZoneList<HUnknownOSRValue*> > osr_values_; | 430 SetOncePointer<ZoneList<HUnknownOSRValue*> > osr_values_; |
| 429 | 431 |
| 430 CompilationInfo* info_; | 432 CompilationInfo* info_; |
| 431 Zone* zone_; | 433 Zone* zone_; |
| 432 | 434 |
| 433 bool is_recursive_; | 435 bool is_recursive_; |
| 434 bool use_optimistic_licm_; | 436 bool use_optimistic_licm_; |
| (...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1665 const char* filename_; | 1667 const char* filename_; |
| 1666 HeapStringAllocator string_allocator_; | 1668 HeapStringAllocator string_allocator_; |
| 1667 StringStream trace_; | 1669 StringStream trace_; |
| 1668 int indent_; | 1670 int indent_; |
| 1669 }; | 1671 }; |
| 1670 | 1672 |
| 1671 | 1673 |
| 1672 } } // namespace v8::internal | 1674 } } // namespace v8::internal |
| 1673 | 1675 |
| 1674 #endif // V8_HYDROGEN_H_ | 1676 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |