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_IA32_LITHIUM_IA32_H_ | 5 #ifndef V8_IA32_LITHIUM_IA32_H_ |
6 #define V8_IA32_LITHIUM_IA32_H_ | 6 #define V8_IA32_LITHIUM_IA32_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 2757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2768 CompilationInfo* info() const { return info_; } | 2768 CompilationInfo* info() const { return info_; } |
2769 HGraph* graph() const { return graph_; } | 2769 HGraph* graph() const { return graph_; } |
2770 | 2770 |
2771 bool is_unused() const { return status_ == UNUSED; } | 2771 bool is_unused() const { return status_ == UNUSED; } |
2772 bool is_building() const { return status_ == BUILDING; } | 2772 bool is_building() const { return status_ == BUILDING; } |
2773 bool is_done() const { return status_ == DONE; } | 2773 bool is_done() const { return status_ == DONE; } |
2774 bool is_aborted() const { return status_ == ABORTED; } | 2774 bool is_aborted() const { return status_ == ABORTED; } |
2775 | 2775 |
2776 void Abort(BailoutReason reason); | 2776 void Abort(BailoutReason reason); |
2777 | 2777 |
2778 // Methods for code dependencies. | |
2779 void AddDeprecationDependency(Handle<Map> map); | |
2780 | |
2781 // Methods for getting operands for Use / Define / Temp. | 2778 // Methods for getting operands for Use / Define / Temp. |
2782 LUnallocated* ToUnallocated(Register reg); | 2779 LUnallocated* ToUnallocated(Register reg); |
2783 LUnallocated* ToUnallocated(XMMRegister reg); | 2780 LUnallocated* ToUnallocated(XMMRegister reg); |
2784 LUnallocated* ToUnallocated(X87Register reg); | 2781 LUnallocated* ToUnallocated(X87Register reg); |
2785 | 2782 |
2786 // Methods for setting up define-use relationships. | 2783 // Methods for setting up define-use relationships. |
2787 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); | 2784 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); |
2788 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); | 2785 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); |
2789 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, | 2786 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, |
2790 XMMRegister fixed_register); | 2787 XMMRegister fixed_register); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2885 | 2882 |
2886 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2883 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2887 }; | 2884 }; |
2888 | 2885 |
2889 #undef DECLARE_HYDROGEN_ACCESSOR | 2886 #undef DECLARE_HYDROGEN_ACCESSOR |
2890 #undef DECLARE_CONCRETE_INSTRUCTION | 2887 #undef DECLARE_CONCRETE_INSTRUCTION |
2891 | 2888 |
2892 } } // namespace v8::internal | 2889 } } // namespace v8::internal |
2893 | 2890 |
2894 #endif // V8_IA32_LITHIUM_IA32_H_ | 2891 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |