aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-09-21 02:56:06 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-09-21 02:56:06 -0400
commitc2f3dc94eba85a32f3b7ab5857b33636a0a2e4df (patch)
treebb809f8eb6a1d7fb709607dcadce511b2a58dd8f /src/analyze.cpp
parentc4a54377e3f07bbd2f9c54c1962c7941792c2c1f (diff)
parentee42caee0e6a24aa252845a72733007ed384d2bf (diff)
downloadzig-c2f3dc94eba85a32f3b7ab5857b33636a0a2e4df.tar.gz
zig-c2f3dc94eba85a32f3b7ab5857b33636a0a2e4df.zip
Merge branch 'c-to-zig'
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp4
1 files changed, 0 insertions, 4 deletions
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;