summaryrefslogtreecommitdiff
path: root/src/code/fault_gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/fault_gc.c')
-rw-r--r--src/code/fault_gc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/code/fault_gc.c b/src/code/fault_gc.c
index e9b7de4b6..13dfb670a 100644
--- a/src/code/fault_gc.c
+++ b/src/code/fault_gc.c
@@ -1327,9 +1327,7 @@ NORETURN void Fault_AddHungupAndCrashImpl(const char* exp1, const char* exp2) {
// Since the above line triggers an exception and transfers execution to the fault handler
// this function does not return and the rest of the function is unreachable.
-#ifdef __GNUC__
- __builtin_unreachable();
-#endif
+ UNREACHABLE();
}
/**