llvm-extract should remove module-level asm

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31086 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-10-20 21:35:41 +00:00
parent 5860715e9d
commit 9dcbf0dedc

View File

@@ -36,7 +36,7 @@ namespace {
if (deleteFunc)
return deleteFunction();
else
M.setModuleInlineAsm("");
return isolateFunction(M);
}