mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-01 10:52:19 +00:00
Remove dead code in the compiler
This commit is contained in:
@@ -59,12 +59,12 @@ gb_internal bool range_cache_add_range(RangeCache *c, i64 lo, i64 hi) {
|
||||
}
|
||||
|
||||
|
||||
gb_internal bool range_cache_index_exists(RangeCache *c, i64 index) {
|
||||
for_array(i, c->ranges) {
|
||||
RangeValue v = c->ranges[i];
|
||||
if (v.lo <= index && index <= v.hi) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
// gb_internal bool range_cache_index_exists(RangeCache *c, i64 index) {
|
||||
// for_array(i, c->ranges) {
|
||||
// RangeValue v = c->ranges[i];
|
||||
// if (v.lo <= index && index <= v.hi) {
|
||||
// return true;
|
||||
// }
|
||||
// }
|
||||
// return false;
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user