From 117296c0a00860072854dd3fee8cd710b7955cf7 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Sat, 1 Oct 2016 02:56:57 +0000 Subject: Use StringRef in Pass/PassManager APIs (NFC) llvm-svn: 283004 --- llvm/lib/CodeGen/ExecutionDepsFix.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/lib/CodeGen/ExecutionDepsFix.cpp') diff --git a/llvm/lib/CodeGen/ExecutionDepsFix.cpp b/llvm/lib/CodeGen/ExecutionDepsFix.cpp index 400413be5b6..54164c94395 100644 --- a/llvm/lib/CodeGen/ExecutionDepsFix.cpp +++ b/llvm/lib/CodeGen/ExecutionDepsFix.cpp @@ -175,9 +175,7 @@ public: MachineFunctionProperties::Property::NoVRegs); } - const char *getPassName() const override { - return "Execution dependency fix"; - } + StringRef getPassName() const override { return "Execution dependency fix"; } private: iterator_range::const_iterator> -- cgit v1.2.3