summaryrefslogtreecommitdiff
path: root/includes/compiler/CInt64.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-20 00:39:43 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-20 00:39:43 +0000
commit7d986adf37220e1981a707745b784b078de4e3bc (patch)
tree831dea5f470c0c6b3c373f38d3a5f0354bc22600 /includes/compiler/CInt64.h
parent4d670146b4054e11e90227f96a3a1c66410e8d0b (diff)
downloadMWCC-7d986adf37220e1981a707745b784b078de4e3bc.tar.gz
MWCC-7d986adf37220e1981a707745b784b078de4e3bc.zip
fix various inaccuracies exposed by the mach ppc plugin
Diffstat (limited to '')
-rw-r--r--includes/compiler/CInt64.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/includes/compiler/CInt64.h b/includes/compiler/CInt64.h
index 663168a..56fce08 100644
--- a/includes/compiler/CInt64.h
+++ b/includes/compiler/CInt64.h
@@ -27,18 +27,11 @@ CW_INLINE void CInt64_SetULong(CInt64 *pN, UInt32 n) {
}
CW_INLINE Boolean CInt64_IsZero(CInt64 *n) {
- //if (n->hi == 0 && n->lo == 0)
- // return 1;
- //else
- // return 0;
return n->hi == 0 && n->lo == 0;
}
CW_INLINE Boolean CInt64_IsOne(CInt64 *n) { // assumed name
return n->hi == 0 && n->lo == 1;
}
-CW_INLINE void CInt64_Extend32(CInt64 *n) { // assumed name
- n->hi = (n->lo >> 31) ? 0xFFFFFFFF : 0;
-}
extern void CInt64_Init(void);
extern CInt64 CInt64_Not(CInt64 input);