constant_pool: Remove unnecessary std::memset from constructor
AllocateFromCodeSpace() already zeroes out the allocated memory.
This commit is contained in:
parent
9c4f234417
commit
066061fa50
1 changed files with 0 additions and 1 deletions
|
@ -16,7 +16,6 @@ ConstantPool::ConstantPool(BlockOfCode& code, size_t size) : code(code), pool_si
|
|||
code.int3();
|
||||
code.align(align_size);
|
||||
pool_begin = reinterpret_cast<u8*>(code.AllocateFromCodeSpace(size));
|
||||
std::memset(pool_begin, 0, size);
|
||||
current_pool_ptr = pool_begin;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue