From 82f865277ea18313a1e60ac8bc8d349fd931c420 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 7 Jun 2015 16:36:28 +0000 Subject: Remove global std::string. NFC. llvm-svn: 239254 --- llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms') diff --git a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp index 3e7deeba9f2..9ecaf102574 100644 --- a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp +++ b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp @@ -496,7 +496,7 @@ template static void unique_unsorted(std::vector &vec) { } } -static std::string GCSafepointPollName("gc.safepoint_poll"); +static const char *const GCSafepointPollName = "gc.safepoint_poll"; static bool isGCSafepointPoll(Function &F) { return F.getName().equals(GCSafepointPollName); -- cgit v1.2.3