mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-07 07:41:20 +00:00
Add missing break statements. Noticed by inspection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185414 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a210b7df7
commit
e7dd3afef0
@ -1004,6 +1004,7 @@ bool FunctionAttrs::inferPrototypeAttributes(Function &F) {
|
||||
return false;
|
||||
setDoesNotThrow(F);
|
||||
setDoesNotCapture(F, 3);
|
||||
break;
|
||||
case LibFunc::fread:
|
||||
case LibFunc::fwrite:
|
||||
if (FTy->getNumParams() != 4 ||
|
||||
@ -1013,6 +1014,7 @@ bool FunctionAttrs::inferPrototypeAttributes(Function &F) {
|
||||
setDoesNotThrow(F);
|
||||
setDoesNotCapture(F, 1);
|
||||
setDoesNotCapture(F, 4);
|
||||
break;
|
||||
case LibFunc::fputs:
|
||||
case LibFunc::fscanf:
|
||||
case LibFunc::fprintf:
|
||||
|
Loading…
x
Reference in New Issue
Block a user