[llvm] r329731 - [LLVM-C] Add Missing 'break's in InlineAsm bindings
Robert Widmann via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 10 11:10:10 PDT 2018
Author: codafi
Date: Tue Apr 10 11:10:10 2018
New Revision: 329731
URL: http://llvm.org/viewvc/llvm-project?rev=329731&view=rev
Log:
[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
Modified:
llvm/trunk/lib/IR/Core.cpp
Modified: llvm/trunk/lib/IR/Core.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Core.cpp?rev=329731&r1=329730&r2=329731&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Core.cpp (original)
+++ llvm/trunk/lib/IR/Core.cpp Tue Apr 10 11:10:10 2018
@@ -331,8 +331,10 @@ LLVMValueRef LLVMGetInlineAsm(LLVMTypeRe
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),
More information about the llvm-commits
mailing list