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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 void set_undefined_constant(HConstant* constant) { | 295 void set_undefined_constant(HConstant* constant) { |
296 undefined_constant_.set(constant); | 296 undefined_constant_.set(constant); |
297 } | 297 } |
298 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } | 298 HConstant* GetConstantUndefined() const { return undefined_constant_.get(); } |
299 HConstant* GetConstant0(); | 299 HConstant* GetConstant0(); |
300 HConstant* GetConstant1(); | 300 HConstant* GetConstant1(); |
301 HConstant* GetConstantMinus1(); | 301 HConstant* GetConstantMinus1(); |
302 HConstant* GetConstantTrue(); | 302 HConstant* GetConstantTrue(); |
303 HConstant* GetConstantFalse(); | 303 HConstant* GetConstantFalse(); |
304 HConstant* GetConstantHole(); | 304 HConstant* GetConstantHole(); |
| 305 HConstant* GetInvalidContext(); |
305 | 306 |
306 HBasicBlock* CreateBasicBlock(); | 307 HBasicBlock* CreateBasicBlock(); |
307 HArgumentsObject* GetArgumentsObject() const { | 308 HArgumentsObject* GetArgumentsObject() const { |
308 return arguments_object_.get(); | 309 return arguments_object_.get(); |
309 } | 310 } |
310 | 311 |
311 void SetArgumentsObject(HArgumentsObject* object) { | 312 void SetArgumentsObject(HArgumentsObject* object) { |
312 arguments_object_.set(object); | 313 arguments_object_.set(object); |
313 } | 314 } |
314 | 315 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 ZoneList<HValue*> values_; | 415 ZoneList<HValue*> values_; |
415 ZoneList<HPhi*>* phi_list_; | 416 ZoneList<HPhi*>* phi_list_; |
416 ZoneList<HInstruction*>* uint32_instructions_; | 417 ZoneList<HInstruction*>* uint32_instructions_; |
417 SetOncePointer<HConstant> undefined_constant_; | 418 SetOncePointer<HConstant> undefined_constant_; |
418 SetOncePointer<HConstant> constant_0_; | 419 SetOncePointer<HConstant> constant_0_; |
419 SetOncePointer<HConstant> constant_1_; | 420 SetOncePointer<HConstant> constant_1_; |
420 SetOncePointer<HConstant> constant_minus1_; | 421 SetOncePointer<HConstant> constant_minus1_; |
421 SetOncePointer<HConstant> constant_true_; | 422 SetOncePointer<HConstant> constant_true_; |
422 SetOncePointer<HConstant> constant_false_; | 423 SetOncePointer<HConstant> constant_false_; |
423 SetOncePointer<HConstant> constant_the_hole_; | 424 SetOncePointer<HConstant> constant_the_hole_; |
| 425 SetOncePointer<HConstant> constant_invalid_context_; |
424 SetOncePointer<HArgumentsObject> arguments_object_; | 426 SetOncePointer<HArgumentsObject> arguments_object_; |
425 | 427 |
426 SetOncePointer<HBasicBlock> osr_loop_entry_; | 428 SetOncePointer<HBasicBlock> osr_loop_entry_; |
427 SetOncePointer<ZoneList<HUnknownOSRValue*> > osr_values_; | 429 SetOncePointer<ZoneList<HUnknownOSRValue*> > osr_values_; |
428 | 430 |
429 CompilationInfo* info_; | 431 CompilationInfo* info_; |
430 Zone* zone_; | 432 Zone* zone_; |
431 | 433 |
432 bool is_recursive_; | 434 bool is_recursive_; |
433 bool use_optimistic_licm_; | 435 bool use_optimistic_licm_; |
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1677 EmbeddedVector<char, 64> filename_; | 1679 EmbeddedVector<char, 64> filename_; |
1678 HeapStringAllocator string_allocator_; | 1680 HeapStringAllocator string_allocator_; |
1679 StringStream trace_; | 1681 StringStream trace_; |
1680 int indent_; | 1682 int indent_; |
1681 }; | 1683 }; |
1682 | 1684 |
1683 | 1685 |
1684 } } // namespace v8::internal | 1686 } } // namespace v8::internal |
1685 | 1687 |
1686 #endif // V8_HYDROGEN_H_ | 1688 #endif // V8_HYDROGEN_H_ |
OLD | NEW |