Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenmeker committed Oct 30, 2024
1 parent 8834f60 commit aedb339
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions include/runtime/header.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ void k_hash(block *, void *);
bool hash_enter(void);
void hash_exit(void);
#ifdef __MACH__
//
// thread_local disabled for Apple
//
//
// thread_local disabled for Apple
//
extern bool gc_enabled;
#else
extern thread_local bool gc_enabled;
Expand Down
6 changes: 3 additions & 3 deletions runtime/alloc/arena.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ static void fresh_block(struct arena *arena) {
}

#ifdef __MACH__
//
// thread_local disabled for Apple
//
//
// thread_local disabled for Apple
//
bool gc_enabled = true;
#else
thread_local bool gc_enabled = true;
Expand Down
6 changes: 3 additions & 3 deletions unittests/runtime-collections/lists.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ block *DUMMY1 = &D1;
}

#ifdef __MACH__
//
// thread_local disabled for Apple
//
//
// thread_local disabled for Apple
//
bool gc_enabled;
#else
thread_local bool gc_enabled;
Expand Down

0 comments on commit aedb339

Please sign in to comment.