summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-09-10 11:52:00 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-09-10 11:52:00 +0000
commit8dd0edc7b150a3f724f000d2ef872c3dcac0bbd8 (patch)
tree6a4f432296d46e971712ab47202a528eafcbf092 /llvm/lib/VMCore
parentc9cdb9618854d55c7907e5d1aaffa4f774adb6b6 (diff)
downloadbcm5719-llvm-8dd0edc7b150a3f724f000d2ef872c3dcac0bbd8.tar.gz
bcm5719-llvm-8dd0edc7b150a3f724f000d2ef872c3dcac0bbd8.zip
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 llvm-svn: 163502
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/Core.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/Core.cpp b/llvm/lib/VMCore/Core.cpp
index ab27f9b8b79..a56f1b282ba 100644
--- a/llvm/lib/VMCore/Core.cpp
+++ b/llvm/lib/VMCore/Core.cpp
@@ -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) {
OpenPOWER on IntegriCloud