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 2125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2136 HGraph* graph() const { return graph_; } | 2136 HGraph* graph() const { return graph_; } |
2137 | 2137 |
2138 bool is_unused() const { return status_ == UNUSED; } | 2138 bool is_unused() const { return status_ == UNUSED; } |
2139 bool is_building() const { return status_ == BUILDING; } | 2139 bool is_building() const { return status_ == BUILDING; } |
2140 bool is_done() const { return status_ == DONE; } | 2140 bool is_done() const { return status_ == DONE; } |
2141 bool is_aborted() const { return status_ == ABORTED; } | 2141 bool is_aborted() const { return status_ == ABORTED; } |
2142 | 2142 |
2143 void Abort(const char* format, ...); | 2143 void Abort(const char* format, ...); |
2144 | 2144 |
2145 // Methods for getting operands for Use / Define / Temp. | 2145 // Methods for getting operands for Use / Define / Temp. |
2146 LRegister* ToOperand(Register reg); | |
2147 LUnallocated* ToUnallocated(Register reg); | 2146 LUnallocated* ToUnallocated(Register reg); |
2148 LUnallocated* ToUnallocated(XMMRegister reg); | 2147 LUnallocated* ToUnallocated(XMMRegister reg); |
2149 | 2148 |
2150 // Methods for setting up define-use relationships. | 2149 // Methods for setting up define-use relationships. |
2151 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); | 2150 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); |
2152 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); | 2151 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); |
2153 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, | 2152 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, |
2154 XMMRegister fixed_register); | 2153 XMMRegister fixed_register); |
2155 | 2154 |
2156 // A value that is guaranteed to be allocated to a register. | 2155 // A value that is guaranteed to be allocated to a register. |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2257 | 2256 |
2258 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2257 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2259 }; | 2258 }; |
2260 | 2259 |
2261 #undef DECLARE_HYDROGEN_ACCESSOR | 2260 #undef DECLARE_HYDROGEN_ACCESSOR |
2262 #undef DECLARE_CONCRETE_INSTRUCTION | 2261 #undef DECLARE_CONCRETE_INSTRUCTION |
2263 | 2262 |
2264 } } // namespace v8::int | 2263 } } // namespace v8::int |
2265 | 2264 |
2266 #endif // V8_X64_LITHIUM_X64_H_ | 2265 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |