mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-01 15:40:46 +00:00
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
This commit is contained in:
parent
4fbaa509eb
commit
c1cbfa805b
@ -1055,11 +1055,9 @@ LLVMValueRef LLVMConstInsertValue(LLVMValueRef AggConstant,
|
||||
LLVMValueRef LLVMConstInlineAsm(LLVMTypeRef Ty, const char *AsmString,
|
||||
const char *Constraints,
|
||||
LLVMBool HasSideEffects,
|
||||
LLVMBool IsAlignStack,
|
||||
InlineAsm::AsmDialect AsmDialect) {
|
||||
LLVMBool IsAlignStack) {
|
||||
return wrap(InlineAsm::get(dyn_cast<FunctionType>(unwrap(Ty)), AsmString,
|
||||
Constraints, HasSideEffects, IsAlignStack,
|
||||
AsmDialect));
|
||||
Constraints, HasSideEffects, IsAlignStack));
|
||||
}
|
||||
|
||||
LLVMValueRef LLVMBlockAddress(LLVMValueRef F, LLVMBasicBlockRef BB) {
|
||||
|
Loading…
Reference in New Issue
Block a user