OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 2143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2154 HGraph* graph() const { return graph_; } | 2154 HGraph* graph() const { return graph_; } |
2155 | 2155 |
2156 bool is_unused() const { return status_ == UNUSED; } | 2156 bool is_unused() const { return status_ == UNUSED; } |
2157 bool is_building() const { return status_ == BUILDING; } | 2157 bool is_building() const { return status_ == BUILDING; } |
2158 bool is_done() const { return status_ == DONE; } | 2158 bool is_done() const { return status_ == DONE; } |
2159 bool is_aborted() const { return status_ == ABORTED; } | 2159 bool is_aborted() const { return status_ == ABORTED; } |
2160 | 2160 |
2161 void Abort(const char* format, ...); | 2161 void Abort(const char* format, ...); |
2162 | 2162 |
2163 // Methods for getting operands for Use / Define / Temp. | 2163 // Methods for getting operands for Use / Define / Temp. |
2164 LRegister* ToOperand(Register reg); | |
2165 LUnallocated* ToUnallocated(Register reg); | 2164 LUnallocated* ToUnallocated(Register reg); |
2166 LUnallocated* ToUnallocated(DoubleRegister reg); | 2165 LUnallocated* ToUnallocated(DoubleRegister reg); |
2167 | 2166 |
2168 // Methods for setting up define-use relationships. | 2167 // Methods for setting up define-use relationships. |
2169 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); | 2168 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); |
2170 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); | 2169 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); |
2171 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, | 2170 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, |
2172 DoubleRegister fixed_register); | 2171 DoubleRegister fixed_register); |
2173 | 2172 |
2174 // A value that is guaranteed to be allocated to a register. | 2173 // A value that is guaranteed to be allocated to a register. |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2271 | 2270 |
2272 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2271 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2273 }; | 2272 }; |
2274 | 2273 |
2275 #undef DECLARE_HYDROGEN_ACCESSOR | 2274 #undef DECLARE_HYDROGEN_ACCESSOR |
2276 #undef DECLARE_CONCRETE_INSTRUCTION | 2275 #undef DECLARE_CONCRETE_INSTRUCTION |
2277 | 2276 |
2278 } } // namespace v8::internal | 2277 } } // namespace v8::internal |
2279 | 2278 |
2280 #endif // V8_ARM_LITHIUM_ARM_H_ | 2279 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |