Skip to content

Commit

Permalink
remove inline specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
wysiwyng committed Jun 26, 2024
1 parent 9033215 commit 3f5c1d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/etiss/SimpleMemSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

/**
Expand Down
4 changes: 2 additions & 2 deletions src/SimpleMemSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 3f5c1d7

Please sign in to comment.