OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_LITHIUM_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_ARM64_H_ |
6 #define V8_ARM64_LITHIUM_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_ARM64_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 2981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2992 bool is_building() const { return status_ == BUILDING; } | 2992 bool is_building() const { return status_ == BUILDING; } |
2993 bool is_done() const { return status_ == DONE; } | 2993 bool is_done() const { return status_ == DONE; } |
2994 bool is_aborted() const { return status_ == ABORTED; } | 2994 bool is_aborted() const { return status_ == ABORTED; } |
2995 | 2995 |
2996 int argument_count() const { return argument_count_; } | 2996 int argument_count() const { return argument_count_; } |
2997 CompilationInfo* info() const { return info_; } | 2997 CompilationInfo* info() const { return info_; } |
2998 Heap* heap() const { return isolate()->heap(); } | 2998 Heap* heap() const { return isolate()->heap(); } |
2999 | 2999 |
3000 void Abort(BailoutReason reason); | 3000 void Abort(BailoutReason reason); |
3001 | 3001 |
| 3002 // Methods for code dependencies. |
| 3003 void AddDeprecationDependency(Handle<Map> map); |
| 3004 |
3002 // Methods for getting operands for Use / Define / Temp. | 3005 // Methods for getting operands for Use / Define / Temp. |
3003 LUnallocated* ToUnallocated(Register reg); | 3006 LUnallocated* ToUnallocated(Register reg); |
3004 LUnallocated* ToUnallocated(DoubleRegister reg); | 3007 LUnallocated* ToUnallocated(DoubleRegister reg); |
3005 | 3008 |
3006 // Methods for setting up define-use relationships. | 3009 // Methods for setting up define-use relationships. |
3007 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); | 3010 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); |
3008 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); | 3011 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); |
3009 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, | 3012 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, |
3010 DoubleRegister fixed_register); | 3013 DoubleRegister fixed_register); |
3011 | 3014 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3093 | 3096 |
3094 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 3097 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
3095 }; | 3098 }; |
3096 | 3099 |
3097 #undef DECLARE_HYDROGEN_ACCESSOR | 3100 #undef DECLARE_HYDROGEN_ACCESSOR |
3098 #undef DECLARE_CONCRETE_INSTRUCTION | 3101 #undef DECLARE_CONCRETE_INSTRUCTION |
3099 | 3102 |
3100 } } // namespace v8::internal | 3103 } } // namespace v8::internal |
3101 | 3104 |
3102 #endif // V8_ARM64_LITHIUM_ARM64_H_ | 3105 #endif // V8_ARM64_LITHIUM_ARM64_H_ |
OLD | NEW |