mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Make helper functions static. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
530a616a9d
commit
9492ec55bd
@ -14,7 +14,7 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
const char *faultKindToString(FaultMapParser::FaultKind FT) {
|
||||
static const char *faultKindToString(FaultMapParser::FaultKind FT) {
|
||||
switch (FT) {
|
||||
default:
|
||||
llvm_unreachable("unhandled fault type!");
|
||||
|
@ -172,8 +172,9 @@ static MCInstPrinter *createHexagonMCInstPrinter(const Triple &T,
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
MCTargetStreamer *createMCAsmTargetStreamer(
|
||||
MCStreamer &S, formatted_raw_ostream &OS, MCInstPrinter *InstPrint,
|
||||
static MCTargetStreamer *createMCAsmTargetStreamer(MCStreamer &S,
|
||||
formatted_raw_ostream &OS,
|
||||
MCInstPrinter *InstPrint,
|
||||
bool IsVerboseAsm) {
|
||||
return new HexagonTargetAsmStreamer(S, OS, IsVerboseAsm, *InstPrint);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user