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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_ARM_H_ |
6 #define V8_ARM_LITHIUM_ARM_H_ | 6 #define V8_ARM_LITHIUM_ARM_H_ |
7 | 7 |
8 #include "hydrogen.h" | 8 #include "hydrogen.h" |
9 #include "lithium-allocator.h" | 9 #include "lithium-allocator.h" |
10 #include "lithium.h" | 10 #include "lithium.h" |
(...skipping 2730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2741 CompilationInfo* info() const { return info_; } | 2741 CompilationInfo* info() const { return info_; } |
2742 HGraph* graph() const { return graph_; } | 2742 HGraph* graph() const { return graph_; } |
2743 | 2743 |
2744 bool is_unused() const { return status_ == UNUSED; } | 2744 bool is_unused() const { return status_ == UNUSED; } |
2745 bool is_building() const { return status_ == BUILDING; } | 2745 bool is_building() const { return status_ == BUILDING; } |
2746 bool is_done() const { return status_ == DONE; } | 2746 bool is_done() const { return status_ == DONE; } |
2747 bool is_aborted() const { return status_ == ABORTED; } | 2747 bool is_aborted() const { return status_ == ABORTED; } |
2748 | 2748 |
2749 void Abort(BailoutReason reason); | 2749 void Abort(BailoutReason reason); |
2750 | 2750 |
| 2751 // Methods for code dependencies. |
| 2752 void AddDeprecationDependency(Handle<Map> map); |
| 2753 |
2751 // Methods for getting operands for Use / Define / Temp. | 2754 // Methods for getting operands for Use / Define / Temp. |
2752 LUnallocated* ToUnallocated(Register reg); | 2755 LUnallocated* ToUnallocated(Register reg); |
2753 LUnallocated* ToUnallocated(DoubleRegister reg); | 2756 LUnallocated* ToUnallocated(DoubleRegister reg); |
2754 | 2757 |
2755 // Methods for setting up define-use relationships. | 2758 // Methods for setting up define-use relationships. |
2756 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); | 2759 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); |
2757 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); | 2760 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); |
2758 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, | 2761 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, |
2759 DoubleRegister fixed_register); | 2762 DoubleRegister fixed_register); |
2760 | 2763 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2841 | 2844 |
2842 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2845 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2843 }; | 2846 }; |
2844 | 2847 |
2845 #undef DECLARE_HYDROGEN_ACCESSOR | 2848 #undef DECLARE_HYDROGEN_ACCESSOR |
2846 #undef DECLARE_CONCRETE_INSTRUCTION | 2849 #undef DECLARE_CONCRETE_INSTRUCTION |
2847 | 2850 |
2848 } } // namespace v8::internal | 2851 } } // namespace v8::internal |
2849 | 2852 |
2850 #endif // V8_ARM_LITHIUM_ARM_H_ | 2853 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |