From 9cdb5dec7aed4a1f692f4ddac034d1f944c0a837 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 20 Sep 2017 22:44:24 -0400 Subject: parsec: cleaner shifting code for fixed size types --- src/analyze.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/analyze.cpp') diff --git a/src/analyze.cpp b/src/analyze.cpp index f20d155e4f..e0d34be281 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -163,10 +163,6 @@ static TypeTableEntry *new_container_type_entry(TypeTableEntryId id, AstNode *so return entry; } -static uint8_t log2_u64(uint64_t x) { - return (63 - clzll(x)); -} - static uint8_t bits_needed_for_unsigned(uint64_t x) { if (x == 0) { return 0; -- cgit v1.2.3