mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Put all LLVM code into the llvm namespace, as per bug 109.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#include "llvm/Support/CallSite.h"
|
||||
#include "llvm/Transforms/Utils/Local.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
bool InlineFunction(CallInst *CI) { return InlineFunction(CallSite(CI)); }
|
||||
bool InlineFunction(InvokeInst *II) { return InlineFunction(CallSite(II)); }
|
||||
|
||||
@@ -278,3 +280,5 @@ bool InlineFunction(CallSite CS) {
|
||||
SimplifyCFG(AfterCallBB);
|
||||
return true;
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
Reference in New Issue
Block a user