| 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_CRANKSHAFT_LITHIUM_H_ | 5 #ifndef V8_CRANKSHAFT_LITHIUM_H_ |
| 6 #define V8_CRANKSHAFT_LITHIUM_H_ | 6 #define V8_CRANKSHAFT_LITHIUM_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 683 BitVector* allocated_double_registers() { | 683 BitVector* allocated_double_registers() { |
| 684 return allocated_double_registers_; | 684 return allocated_double_registers_; |
| 685 } | 685 } |
| 686 | 686 |
| 687 protected: | 687 protected: |
| 688 LChunk(CompilationInfo* info, HGraph* graph); | 688 LChunk(CompilationInfo* info, HGraph* graph); |
| 689 | 689 |
| 690 int spill_slot_count_; | 690 int spill_slot_count_; |
| 691 | 691 |
| 692 private: | 692 private: |
| 693 void RegisterWeakObjectsInOptimizedCode(Handle<Code> code) const; | |
| 694 void CommitDependencies(Handle<Code> code) const; | 693 void CommitDependencies(Handle<Code> code) const; |
| 695 | 694 |
| 696 CompilationInfo* info_; | 695 CompilationInfo* info_; |
| 697 HGraph* const graph_; | 696 HGraph* const graph_; |
| 698 BitVector* allocated_double_registers_; | 697 BitVector* allocated_double_registers_; |
| 699 ZoneList<LInstruction*> instructions_; | 698 ZoneList<LInstruction*> instructions_; |
| 700 ZoneList<LPointerMap*> pointer_maps_; | 699 ZoneList<LPointerMap*> pointer_maps_; |
| 701 ZoneList<Handle<SharedFunctionInfo>> inlined_functions_; | 700 ZoneList<Handle<SharedFunctionInfo>> inlined_functions_; |
| 702 ZoneList<Handle<Map>> deprecation_dependencies_; | 701 ZoneList<Handle<Map>> deprecation_dependencies_; |
| 703 ZoneList<Handle<Map>> stability_dependencies_; | 702 ZoneList<Handle<Map>> stability_dependencies_; |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 InputIterator input_iterator_; | 831 InputIterator input_iterator_; |
| 833 DeepIterator env_iterator_; | 832 DeepIterator env_iterator_; |
| 834 }; | 833 }; |
| 835 | 834 |
| 836 class LInstruction; | 835 class LInstruction; |
| 837 class LCodeGen; | 836 class LCodeGen; |
| 838 } // namespace internal | 837 } // namespace internal |
| 839 } // namespace v8 | 838 } // namespace v8 |
| 840 | 839 |
| 841 #endif // V8_CRANKSHAFT_LITHIUM_H_ | 840 #endif // V8_CRANKSHAFT_LITHIUM_H_ |
| OLD | NEW |