summaryrefslogtreecommitdiff
path: root/src/compiler/llvm/utils_llvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/llvm/utils_llvm.h')
-rw-r--r--src/compiler/llvm/utils_llvm.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/compiler/llvm/utils_llvm.h b/src/compiler/llvm/utils_llvm.h
index e06e113aa7..2e273f4fe9 100644
--- a/src/compiler/llvm/utils_llvm.h
+++ b/src/compiler/llvm/utils_llvm.h
@@ -17,13 +17,8 @@
#ifndef ART_SRC_UTILS_LLVM_H_
#define ART_SRC_UTILS_LLVM_H_
-#include "base/stringprintf.h"
-
#include <llvm/Analysis/Verifier.h>
-#include <stdint.h>
-#include <string>
-
namespace art {
#ifndef NDEBUG
@@ -32,17 +27,6 @@ namespace art {
#define VERIFY_LLVM_FUNCTION(func)
#endif
-inline static std::string ElfFuncName(uint32_t idx) {
- return StringPrintf("Art%u", static_cast<unsigned int>(idx));
-}
-
-class CStringLessThanComparator {
- public:
- bool operator()(const char* lhs, const char* rhs) const {
- return (strcmp(lhs, rhs) < 0);
- }
-};
-
} // namespace art
#endif // ART_SRC_UTILS_LLVM_H_