llvm.org GIT mirror llvm / c1cbfa8
c bindings: revert LLVMConstInlineAsm to always use the default asm dialect. - The C API should be stable - InlineAsm::AsmDialect is not exposed to C - The function didn't match the prototype so this was unreachable code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163502 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 8 years ago
1 changed file(s) with 2 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
10541054 LLVMValueRef LLVMConstInlineAsm(LLVMTypeRef Ty, const char *AsmString,
10551055 const char *Constraints,
10561056 LLVMBool HasSideEffects,
1057 LLVMBool IsAlignStack,
1058 InlineAsm::AsmDialect AsmDialect) {
1057 LLVMBool IsAlignStack) {
10591058 return wrap(InlineAsm::get(dyn_cast(unwrap(Ty)), AsmString,
1060 Constraints, HasSideEffects, IsAlignStack,
1061 AsmDialect));
1059 Constraints, HasSideEffects, IsAlignStack));
10621060 }
10631061
10641062 LLVMValueRef LLVMBlockAddress(LLVMValueRef F, LLVMBasicBlockRef BB) {