* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ae3c8c2085
commit
cdb8f3f996
@ -26,10 +26,10 @@ typedef struct
|
|||||||
typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self) __attribute__((fastcall));
|
typedef COROUTINE(* coroutine_start)(coroutine_context *from, coroutine_context *self) __attribute__((fastcall));
|
||||||
|
|
||||||
static inline void coroutine_initialize(
|
static inline void coroutine_initialize(
|
||||||
coroutine_context *context,
|
coroutine_context *context,
|
||||||
coroutine_start start,
|
coroutine_start start,
|
||||||
void *stack_pointer,
|
void *stack_pointer,
|
||||||
size_t stack_size
|
size_t stack_size
|
||||||
) {
|
) {
|
||||||
/* Force 16-byte alignment */
|
/* Force 16-byte alignment */
|
||||||
context->stack_pointer = (void**)((uintptr_t)stack_pointer & ~0xF);
|
context->stack_pointer = (void**)((uintptr_t)stack_pointer & ~0xF);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user