diff options
Diffstat (limited to 'lib/AsmParser')
-rw-r--r-- | lib/AsmParser/llvmAsmParser.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index f5d5c79..1a84584 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -2420,6 +2420,7 @@ FunctionHeaderH : OptCallingConv OptRetAttrs ResultTypes GlobalName '(' ArgList InsertValue(Fn, CurModule.Values); } + ID.destroy(); CurFun.FunctionStart(Fn); if (CurFun.isDeclare) { |