diff options
Diffstat (limited to 'llvm/unittests/CodeGen/LexicalScopesTest.cpp')
-rw-r--r-- | llvm/unittests/CodeGen/LexicalScopesTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/CodeGen/LexicalScopesTest.cpp b/llvm/unittests/CodeGen/LexicalScopesTest.cpp index 3d707462..563d496 100644 --- a/llvm/unittests/CodeGen/LexicalScopesTest.cpp +++ b/llvm/unittests/CodeGen/LexicalScopesTest.cpp @@ -67,7 +67,7 @@ public: BeanInst.Opcode = 1; BeanInst.Size = 1; - memset(&DbgValueInst, 0, sizeof(DbgValueInst)); + memset(&DbgValueInst, 0, sizeof(MCInstrDesc)); DbgValueInst.Opcode = TargetOpcode::DBG_VALUE; DbgValueInst.Size = 1; DbgValueInst.Flags = 1U << MCID::Meta; |