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 2255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2266 Zone* zone() { return isolate_->zone(); } | 2266 Zone* zone() { return isolate_->zone(); } |
2267 | 2267 |
2268 bool is_unused() const { return status_ == UNUSED; } | 2268 bool is_unused() const { return status_ == UNUSED; } |
2269 bool is_building() const { return status_ == BUILDING; } | 2269 bool is_building() const { return status_ == BUILDING; } |
2270 bool is_done() const { return status_ == DONE; } | 2270 bool is_done() const { return status_ == DONE; } |
2271 bool is_aborted() const { return status_ == ABORTED; } | 2271 bool is_aborted() const { return status_ == ABORTED; } |
2272 | 2272 |
2273 void Abort(const char* format, ...); | 2273 void Abort(const char* format, ...); |
2274 | 2274 |
2275 // Methods for getting operands for Use / Define / Temp. | 2275 // Methods for getting operands for Use / Define / Temp. |
2276 LRegister* ToOperand(Register reg); | |
2277 LUnallocated* ToUnallocated(Register reg); | 2276 LUnallocated* ToUnallocated(Register reg); |
2278 LUnallocated* ToUnallocated(XMMRegister reg); | 2277 LUnallocated* ToUnallocated(XMMRegister reg); |
2279 | 2278 |
2280 // Methods for setting up define-use relationships. | 2279 // Methods for setting up define-use relationships. |
2281 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); | 2280 MUST_USE_RESULT LOperand* Use(HValue* value, LUnallocated* operand); |
2282 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); | 2281 MUST_USE_RESULT LOperand* UseFixed(HValue* value, Register fixed_register); |
2283 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, | 2282 MUST_USE_RESULT LOperand* UseFixedDouble(HValue* value, |
2284 XMMRegister fixed_register); | 2283 XMMRegister fixed_register); |
2285 | 2284 |
2286 // A value that is guaranteed to be allocated to a register. | 2285 // A value that is guaranteed to be allocated to a register. |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2388 | 2387 |
2389 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2388 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2390 }; | 2389 }; |
2391 | 2390 |
2392 #undef DECLARE_HYDROGEN_ACCESSOR | 2391 #undef DECLARE_HYDROGEN_ACCESSOR |
2393 #undef DECLARE_CONCRETE_INSTRUCTION | 2392 #undef DECLARE_CONCRETE_INSTRUCTION |
2394 | 2393 |
2395 } } // namespace v8::internal | 2394 } } // namespace v8::internal |
2396 | 2395 |
2397 #endif // V8_IA32_LITHIUM_IA32_H_ | 2396 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |