diff --git a/include/etiss/SimpleMemSystem.h b/include/etiss/SimpleMemSystem.h index d066acfce7..26b42becf0 100644 --- a/include/etiss/SimpleMemSystem.h +++ b/include/etiss/SimpleMemSystem.h @@ -112,9 +112,9 @@ class MemSegment void load(const void *data, size_t offset, size_t file_size_bytes); - inline bool addr_in_range(etiss::uint64 addr) const; + bool addr_in_range(etiss::uint64 addr) const; - inline bool payload_in_range(etiss::uint64 addr, etiss::uint64 payload_size) const; + bool payload_in_range(etiss::uint64 addr, etiss::uint64 payload_size) const; }; /** diff --git a/src/SimpleMemSystem.cpp b/src/SimpleMemSystem.cpp index bc3ba46f91..00cff6a6af 100644 --- a/src/SimpleMemSystem.cpp +++ b/src/SimpleMemSystem.cpp @@ -175,12 +175,12 @@ void MemSegment::load(const void *data, size_t offset, size_t file_size_bytes) } } -inline bool MemSegment::addr_in_range(etiss::uint64 addr) const +bool MemSegment::addr_in_range(etiss::uint64 addr) const { return ((addr >= start_addr_ && addr <= end_addr_) ? true : false); } -inline bool MemSegment::payload_in_range(etiss::uint64 addr, etiss::uint64 payload_size) const +bool MemSegment::payload_in_range(etiss::uint64 addr, etiss::uint64 payload_size) const { if (addr_in_range(addr)) {