From ce4ab597965906419ad58b710b10a0ec04b551a0 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Thu, 23 Jan 2014 19:57:16 +0000 Subject: Replace the interim lli build fix with something cleaner Eliminates the LLI_BUILDING_CHILD build hack from r199885. Also add a FIXME to remove code that tricks the tests into passing when the feature fails to work. Please don't do stuff like this, the tests exist for a reason! llvm-svn: 199929 --- llvm/tools/lli/RemoteTarget.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'llvm/tools/lli/RemoteTarget.cpp') diff --git a/llvm/tools/lli/RemoteTarget.cpp b/llvm/tools/lli/RemoteTarget.cpp index c3195e2154c..561055f43bd 100644 --- a/llvm/tools/lli/RemoteTarget.cpp +++ b/llvm/tools/lli/RemoteTarget.cpp @@ -22,31 +22,6 @@ using namespace llvm; -#ifndef LLI_BUILDING_CHILD - -// Static methods -RemoteTarget *RemoteTarget::createRemoteTarget() { - return new RemoteTarget; -} - -RemoteTarget *RemoteTarget::createExternalRemoteTarget(std::string &ChildName) { -#ifdef LLVM_ON_UNIX - return new RemoteTargetExternal(ChildName); -#else - return 0; -#endif -} - -bool RemoteTarget::hostSupportsExternalRemoteTarget() { -#ifdef LLVM_ON_UNIX - return true; -#else - return false; -#endif -} - -#endif - //////////////////////////////////////////////////////////////////////////////// // Simulated remote execution // -- cgit v1.2.3