From 5b8b1edc803a85bb3172560826d6a23fb23c3452 Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Thu, 23 Feb 2012 23:48:21 -0800 Subject: Implement Link-loading and pass 62 tests in JniInternalTest. The passed tests include the 12 originally ARM-only tests. Now it works on x86 as well if defined(ART_USE_LLVM_COMPILER). Change-Id: I03092637fa4f0979ca77e0cac06e5d31a867e465 --- src/compiler_llvm/utils_llvm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compiler_llvm/utils_llvm.h') diff --git a/src/compiler_llvm/utils_llvm.h b/src/compiler_llvm/utils_llvm.h index a1624d79a7..fb4da34ff6 100644 --- a/src/compiler_llvm/utils_llvm.h +++ b/src/compiler_llvm/utils_llvm.h @@ -33,6 +33,10 @@ std::string LLVMShortName(const Method* m); // Returns the LLVM function name for the overloaded method 'm'. std::string LLVMLongName(const Method* m); +// Returns the LLVM stub function name for the overloaded method 'm'. +std::string LLVMStubName(const Method* m); + +void LLVMLinkLoadMethod(const std::string& file_name, Method* method); } // namespace art #endif // ART_SRC_UTILS_LLVM_H_ -- cgit v1.2.3-59-g8ed1b