mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Merge 99762 from mainline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@99908 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
c524bff18b
commit
78701d41a0
1 file changed
+1
-1
@@ -27,7 +27,7 @@ namespace sys {
|
||||
/// @brief Memory block abstraction.
|
||||
class MemoryBlock {
|
||||
public:
|
||||
MemoryBlock() { }
|
||||
MemoryBlock() : Address(0), Size(0) { }
|
||||
MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
|
||||
void *base() const { return Address; }
|
||||
size_t size() const { return Size; }
|
||||
|
||||
Reference in new issue
Block a user