mirror of
https://github.com/corda/corda.git
synced 2025-06-19 07:38:22 +00:00
progress towards cross-endian bootimage builds
This fixes a number of bugs concerning cross-architecture bootimage builds involving diffent endianesses. There will be more work to do before it works.
This commit is contained in:
@ -161,7 +161,7 @@ inline bool isInt24(target_intptr_t v) { return v == (v & 0xffffff); }
|
||||
inline bool isInt32(target_intptr_t v) { return v == static_cast<int32_t>(v); }
|
||||
inline int carry16(target_intptr_t v) { return static_cast<int16_t>(v) < 0 ? 1 : 0; }
|
||||
|
||||
inline bool isOfWidth(long long i, int size) { return static_cast<unsigned long long>(i) >> size == 0; }
|
||||
inline bool isOfWidth(int64_t i, int size) { return static_cast<uint64_t>(i) >> size == 0; }
|
||||
inline bool isOfWidth(int i, int size) { return static_cast<unsigned>(i) >> size == 0; }
|
||||
|
||||
const unsigned FrameHeaderSize = 1;
|
||||
|
Reference in New Issue
Block a user