parent
f90a4a85e0
commit
767d86e6dc
|
@ -62,6 +62,8 @@ void prepare_reinit_main_thread() { prepare_init_main_thread(); }
|
||||||
** Thread **
|
** Thread **
|
||||||
************/
|
************/
|
||||||
|
|
||||||
|
/* prevent the compiler from optimizing out the 'this' pointer check */
|
||||||
|
__attribute__((optimize("-fno-delete-null-pointer-checks")))
|
||||||
Native_utcb *Thread::utcb()
|
Native_utcb *Thread::utcb()
|
||||||
{
|
{
|
||||||
if (this) { return &_stack->utcb(); }
|
if (this) { return &_stack->utcb(); }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user