mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Remove global construction. const char* is sufficient here.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -324,10 +324,10 @@ static void assureFPCallStub(Function &F, Module *M,
|
||||
//
|
||||
// Functions that are inline intrinsics don't need helpers.
|
||||
//
|
||||
std::string IntrinsicInline[] =
|
||||
static const char *IntrinsicInline[] =
|
||||
{"fabs"};
|
||||
|
||||
bool isIntrinsicInline(Function *F) {
|
||||
static bool isIntrinsicInline(Function *F) {
|
||||
return std::binary_search(
|
||||
IntrinsicInline, array_endof(IntrinsicInline),
|
||||
F->getName());
|
||||
|
Reference in New Issue
Block a user