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_X64_LITHIUM_X64_H_ | 5 #ifndef V8_X64_LITHIUM_X64_H_ |
6 #define V8_X64_LITHIUM_X64_H_ | 6 #define V8_X64_LITHIUM_X64_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 2692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2703 CompilationInfo* info() const { return info_; } | 2703 CompilationInfo* info() const { return info_; } |
2704 HGraph* graph() const { return graph_; } | 2704 HGraph* graph() const { return graph_; } |
2705 | 2705 |
2706 bool is_unused() const { return status_ == UNUSED; } | 2706 bool is_unused() const { return status_ == UNUSED; } |
2707 bool is_building() const { return status_ == BUILDING; } | 2707 bool is_building() const { return status_ == BUILDING; } |
2708 bool is_done() const { return status_ == DONE; } | 2708 bool is_done() const { return status_ == DONE; } |
2709 bool is_aborted() const { return status_ == ABORTED; } | 2709 bool is_aborted() const { return status_ == ABORTED; } |
2710 | 2710 |
2711 void Abort(BailoutReason reason); | 2711 void Abort(BailoutReason reason); |
2712 | 2712 |
| 2713 // Methods for code dependencies. |
| 2714 void AddDeprecationDependency(Handle<Map> map); |
| 2715 |
2713 // Methods for getting operands for Use / Define / Temp. | 2716 // Methods for getting operands for Use / Define / Temp. |
2714 LUnallocated* ToUnallocated(Register reg); | 2717 LUnallocated* ToUnallocated(Register reg); |
2715 LUnallocated* ToUnallocated(XMMRegister reg); | 2718 LUnallocated* ToUnallocated(XMMRegister reg); |
2716 | 2719 |
2717 // Methods for setting up define-use relationships. | 2720 // Methods for setting up define-use relationships. |
2718 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); | 2721 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); |
2719 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); | 2722 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); |
2720 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, | 2723 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, |
2721 XMMRegister fixed_register); | 2724 XMMRegister fixed_register); |
2722 | 2725 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2811 | 2814 |
2812 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2815 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2813 }; | 2816 }; |
2814 | 2817 |
2815 #undef DECLARE_HYDROGEN_ACCESSOR | 2818 #undef DECLARE_HYDROGEN_ACCESSOR |
2816 #undef DECLARE_CONCRETE_INSTRUCTION | 2819 #undef DECLARE_CONCRETE_INSTRUCTION |
2817 | 2820 |
2818 } } // namespace v8::int | 2821 } } // namespace v8::int |
2819 | 2822 |
2820 #endif // V8_X64_LITHIUM_X64_H_ | 2823 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |