mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
typedef Register and RegisterMask in arm
This commit is contained in:
parent
61e79d4f3b
commit
87465e890b
@ -25,17 +25,17 @@ class Context;
|
|||||||
|
|
||||||
// shortcut functions
|
// shortcut functions
|
||||||
|
|
||||||
inline int newTemp(Context* con)
|
inline Register newTemp(Context* con)
|
||||||
{
|
{
|
||||||
return con->client->acquireTemporary(GPR_MASK);
|
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);
|
return con->client->acquireTemporary(mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void freeTemp(Context* con, int r)
|
inline void freeTemp(Context* con, Register r)
|
||||||
{
|
{
|
||||||
con->client->releaseTemporary(r);
|
con->client->releaseTemporary(r);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user