Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

Commit

Permalink
[arm] Handle CallingConv::Mono in getEffectiveCallingConv (), previou…
Browse files Browse the repository at this point in the history
…sly it would be handled by the default branch, which would fall through to the next switch case because llvm_unreachable() was a noop in release builds.
  • Loading branch information
vargaz committed Feb 15, 2017
1 parent 5b94bc7 commit dbb6fdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Target/ARM/ARMISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,8 @@ ARMTargetLowering::getEffectiveCallingConv(CallingConv::ID CC,
return CallingConv::ARM_AAPCS_VFP;
else
return CallingConv::ARM_AAPCS;
case CallingConv::Mono:
return CallingConv::Mono;
}
}

Expand Down

0 comments on commit dbb6fdf

Please sign in to comment.