Changeset 534 for trunk/lib


Ignore:
Timestamp:
Sep 24, 2013, 1:11:00 PM (10 years ago)
Author:
bouyer
Message:

Add an assert that *dt_next is always initialised if entry is found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/generic_cache_tsar/include/generic_cache.h

    r393 r534  
    443443                    {
    444444                        *dt_next = cache_data(way, set, word+1);
    445                     }
     445                    } else {
     446                        assert(false && "can't request 2 words at end of line");
     447                    }
    446448                    cache_set_lru(way, set);
    447449                }
Note: See TracChangeset for help on using the changeset viewer.