mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 06:11:37 +00:00
mips64: use RegWord where appplicable
Use RegWord type in mips64. Part of the changes required for MIPS N32 ABI support. BZ issue - #345763. Contributed by: Dimitrije Nikolic, Aleksandar Rikalo and Tamara Vlahovic.
This commit is contained in:
@@ -197,7 +197,7 @@ typedef void (*Free_Fn_t) ( void* p );
|
||||
typedef
|
||||
struct {
|
||||
Bool _isError;
|
||||
UWord _val;
|
||||
RegWord _val;
|
||||
UWord _valEx;
|
||||
}
|
||||
SysRes;
|
||||
@@ -249,7 +249,7 @@ typedef
|
||||
static inline Bool sr_isError ( SysRes sr ) {
|
||||
return sr._isError;
|
||||
}
|
||||
static inline UWord sr_Res ( SysRes sr ) {
|
||||
static inline RegWord sr_Res ( SysRes sr ) {
|
||||
return sr._isError ? 0 : sr._val;
|
||||
}
|
||||
static inline UWord sr_ResEx ( SysRes sr ) {
|
||||
|
||||
Reference in New Issue
Block a user