forked from OSchip/llvm-project
[LLVM-C] Add Missing 'break's in InlineAsm bindings
Summary: Noticed by Andrea Di Biagio while reviewing r329369 Reviewers: whitequark, harlanhaskins Reviewed By: harlanhaskins Subscribers: llvm-commits, abergmeier-dsfishlabs Differential Revision: https://reviews.llvm.org/D45496 llvm-svn: 329731
This commit is contained in:
parent
e68c7fa1e5
commit
58568254bc
|
@ -331,8 +331,10 @@ LLVMValueRef LLVMGetInlineAsm(LLVMTypeRef Ty,
|
|||
switch (Dialect) {
|
||||
case LLVMInlineAsmDialectATT:
|
||||
AD = InlineAsm::AD_ATT;
|
||||
break;
|
||||
case LLVMInlineAsmDialectIntel:
|
||||
AD = InlineAsm::AD_Intel;
|
||||
break;
|
||||
}
|
||||
return wrap(InlineAsm::get(unwrap<FunctionType>(Ty),
|
||||
StringRef(AsmString, AsmStringSize),
|
||||
|
|
Loading…
Reference in New Issue