aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index 152603487a..a5bb8546bd 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -9566,10 +9566,6 @@ static TypeTableEntry *ir_analyze_instruction_set_fn_visible(IrAnalyze *ira,
return ira->codegen->builtin_types.entry_void;
}
-static bool is_power_of_2(uint64_t x) {
- return x != 0 && ((x & (~x + 1)) == x);
-}
-
static TypeTableEntry *ir_analyze_instruction_set_global_align(IrAnalyze *ira,
IrInstructionSetGlobalAlign *instruction)
{