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_MIPS_LITHIUM_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_MIPS_H_ |
6 #define V8_MIPS_LITHIUM_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_MIPS_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 2685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2696 CompilationInfo* info() const { return info_; } | 2696 CompilationInfo* info() const { return info_; } |
2697 HGraph* graph() const { return graph_; } | 2697 HGraph* graph() const { return graph_; } |
2698 | 2698 |
2699 bool is_unused() const { return status_ == UNUSED; } | 2699 bool is_unused() const { return status_ == UNUSED; } |
2700 bool is_building() const { return status_ == BUILDING; } | 2700 bool is_building() const { return status_ == BUILDING; } |
2701 bool is_done() const { return status_ == DONE; } | 2701 bool is_done() const { return status_ == DONE; } |
2702 bool is_aborted() const { return status_ == ABORTED; } | 2702 bool is_aborted() const { return status_ == ABORTED; } |
2703 | 2703 |
2704 void Abort(BailoutReason reason); | 2704 void Abort(BailoutReason reason); |
2705 | 2705 |
| 2706 // Methods for code dependencies. |
| 2707 void AddDeprecationDependency(Handle<Map> map); |
| 2708 |
2706 // Methods for getting operands for Use / Define / Temp. | 2709 // Methods for getting operands for Use / Define / Temp. |
2707 LUnallocated* ToUnallocated(Register reg); | 2710 LUnallocated* ToUnallocated(Register reg); |
2708 LUnallocated* ToUnallocated(DoubleRegister reg); | 2711 LUnallocated* ToUnallocated(DoubleRegister reg); |
2709 | 2712 |
2710 // Methods for setting up define-use relationships. | 2713 // Methods for setting up define-use relationships. |
2711 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); | 2714 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); |
2712 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); | 2715 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); |
2713 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, | 2716 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, |
2714 DoubleRegister fixed_register); | 2717 DoubleRegister fixed_register); |
2715 | 2718 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2797 | 2800 |
2798 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2801 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2799 }; | 2802 }; |
2800 | 2803 |
2801 #undef DECLARE_HYDROGEN_ACCESSOR | 2804 #undef DECLARE_HYDROGEN_ACCESSOR |
2802 #undef DECLARE_CONCRETE_INSTRUCTION | 2805 #undef DECLARE_CONCRETE_INSTRUCTION |
2803 | 2806 |
2804 } } // namespace v8::internal | 2807 } } // namespace v8::internal |
2805 | 2808 |
2806 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2809 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
OLD | NEW |