summaryrefslogtreecommitdiff
path: root/src/compiler/llvm/utils_llvm.h
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2013-01-30 14:08:26 -0800
committer Brian Carlstrom <bdc@google.com> 2013-03-06 14:08:46 -0800
commit265091e581c9f643b37e7966890911f09e223269 (patch)
treeae493ce6c3537aebc3a85f59a73500fa819a7baf /src/compiler/llvm/utils_llvm.h
parent4c1c283a7410784e9cab309f868248690b788a9c (diff)
Remove ExtractCodeAndPrelink and switch Portable to MCLinker
Change-Id: Ia2459c7da6b79e0a1c0f1148c6e28ad9cbbe27a2
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_