| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_LITHIUM_H_ | 5 #ifndef V8_LITHIUM_H_ |
| 6 #define V8_LITHIUM_H_ | 6 #define V8_LITHIUM_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 676 protected: | 676 protected: |
| 677 LChunk(CompilationInfo* info, HGraph* graph); | 677 LChunk(CompilationInfo* info, HGraph* graph); |
| 678 | 678 |
| 679 int spill_slot_count_; | 679 int spill_slot_count_; |
| 680 | 680 |
| 681 private: | 681 private: |
| 682 typedef std::less<Handle<Map> > MapLess; | 682 typedef std::less<Handle<Map> > MapLess; |
| 683 typedef zone_allocator<Handle<Map> > MapAllocator; | 683 typedef zone_allocator<Handle<Map> > MapAllocator; |
| 684 typedef std::set<Handle<Map>, MapLess, MapAllocator> MapSet; | 684 typedef std::set<Handle<Map>, MapLess, MapAllocator> MapSet; |
| 685 | 685 |
| 686 void RegisterWeakObjectsInOptimizedCode(Handle<Code> code) const; |
| 686 void CommitDependencies(Handle<Code> code) const; | 687 void CommitDependencies(Handle<Code> code) const; |
| 687 | 688 |
| 688 CompilationInfo* info_; | 689 CompilationInfo* info_; |
| 689 HGraph* const graph_; | 690 HGraph* const graph_; |
| 690 BitVector* allocated_double_registers_; | 691 BitVector* allocated_double_registers_; |
| 691 ZoneList<LInstruction*> instructions_; | 692 ZoneList<LInstruction*> instructions_; |
| 692 ZoneList<LPointerMap*> pointer_maps_; | 693 ZoneList<LPointerMap*> pointer_maps_; |
| 693 ZoneList<Handle<JSFunction> > inlined_closures_; | 694 ZoneList<Handle<JSFunction> > inlined_closures_; |
| 694 MapSet deprecation_dependencies_; | 695 MapSet deprecation_dependencies_; |
| 695 MapSet stability_dependencies_; | 696 MapSet stability_dependencies_; |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 private: | 824 private: |
| 824 InputIterator input_iterator_; | 825 InputIterator input_iterator_; |
| 825 DeepIterator env_iterator_; | 826 DeepIterator env_iterator_; |
| 826 }; | 827 }; |
| 827 | 828 |
| 828 class LInstruction; | 829 class LInstruction; |
| 829 class LCodeGen; | 830 class LCodeGen; |
| 830 } } // namespace v8::internal | 831 } } // namespace v8::internal |
| 831 | 832 |
| 832 #endif // V8_LITHIUM_H_ | 833 #endif // V8_LITHIUM_H_ |
| OLD | NEW |