We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac82955 commit d54516bCopy full SHA for d54516b
clang/lib/AST/ByteCode/InterpState.cpp
@@ -94,7 +94,7 @@ void InterpState::deallocate(Block *B) {
94
auto *D = new (Memory) DeadBlock(DeadBlocks, B);
95
// Since the block doesn't hold any actual data anymore, we can just
96
// memcpy() everything over.
97
- std::memcpy(D->rawData(), B->rawData(), B->getSize());
+ std::memcpy(D->rawData(), B->rawData(), Size);
98
D->B.IsInitialized = false;
99
}
100
0 commit comments