Mercurial > hg > graal-compiler
diff src/share/vm/opto/machnode.hpp @ 14444:492e67693373
8029888: PPC64: (part 219): adl replacement variable CondRegister
Summary: Add support for replacement variable CondRegister in adlc.
Reviewed-by: kvn
author | goetz |
---|---|
date | Tue, 10 Dec 2013 14:29:43 +0100 |
parents | 41b780b43b74 |
children | 04e7587c97dc 62c54fcc0a35 |
line wrap: on
line diff
--- a/src/share/vm/opto/machnode.hpp Mon Dec 02 10:26:14 2013 +0100 +++ b/src/share/vm/opto/machnode.hpp Tue Dec 10 14:29:43 2013 +0100 @@ -103,6 +103,15 @@ return ::as_XMMRegister(reg(ra_, node, idx)); } #endif + // CondRegister reg converter +#if defined(PPC64) + ConditionRegister as_ConditionRegister(PhaseRegAlloc *ra_, const Node *node) const { + return ::as_ConditionRegister(reg(ra_, node)); + } + ConditionRegister as_ConditionRegister(PhaseRegAlloc *ra_, const Node *node, int idx) const { + return ::as_ConditionRegister(reg(ra_, node, idx)); + } +#endif virtual intptr_t constant() const; virtual relocInfo::relocType constant_reloc() const;