typedef Register and RegisterMask in arm

This commit is contained in:
joshuawarner32@gmail.com 2014-12-04 17:46:06 -07:00 committed by Joshua Warner
parent 61e79d4f3b
commit 87465e890b

View File

@ -25,17 +25,17 @@ class Context;
// shortcut functions
inline int newTemp(Context* con)
inline Register newTemp(Context* con)
{
return con->client->acquireTemporary(GPR_MASK);
}
inline int newTemp(Context* con, unsigned mask)
inline Register newTemp(Context* con, RegisterMask mask)
{
return con->client->acquireTemporary(mask);
}
inline void freeTemp(Context* con, int r)
inline void freeTemp(Context* con, Register r)
{
con->client->releaseTemporary(r);
}