mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix and improve coroutines for Darwin (macOS) ppc/ppc64. (#5975)
This commit is contained in:
parent
fc3137ef54
commit
567725ed30
Notes:
git
2022-10-19 10:50:05 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>
17 changed files with 196 additions and 120 deletions
|
@ -869,8 +869,11 @@ typedef struct {
|
|||
int type;
|
||||
} DebugInfoValue;
|
||||
|
||||
/* TODO: Big Endian */
|
||||
#if defined(WORDS_BIGENDIAN)
|
||||
#define MERGE_2INTS(a,b,sz) (((uint64_t)(a)<<sz)|(b))
|
||||
#else
|
||||
#define MERGE_2INTS(a,b,sz) (((uint64_t)(b)<<sz)|(a))
|
||||
#endif
|
||||
|
||||
static uint16_t
|
||||
get_uint16(const uint8_t *p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue