From: Reid Spencer Date: Wed, 15 Dec 2004 22:22:51 +0000 (+0000) Subject: Remove the CFE's lib directory from the bytecode path because LLVM should X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=24ac21f937517d7e1e3190c419541c11cba1962c;p=oota-llvm.git Remove the CFE's lib directory from the bytecode path because LLVM should be agnostic to the needs of any specific FE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18969 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/System/Win32/Path.cpp b/lib/System/Win32/Path.cpp index 21e07c8ae13..d76dcd00176 100644 --- a/lib/System/Win32/Path.cpp +++ b/lib/System/Win32/Path.cpp @@ -156,13 +156,6 @@ Path::GetBytecodeLibraryPaths(std::vector& Paths) { if (env_var != 0) { getPathList(env_var,Paths); } -#ifdef LLVMGCCDIR - { - Path tmpPath(std::string(LLVMGCCDIR) + "lib/"); - if (tmpPath.readable()) - Paths.push_back(tmpPath); - } -#endif #ifdef LLVM_LIBDIR { Path tmpPath; diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index 21e07c8ae13..d76dcd00176 100644 --- a/lib/System/Win32/Path.inc +++ b/lib/System/Win32/Path.inc @@ -156,13 +156,6 @@ Path::GetBytecodeLibraryPaths(std::vector& Paths) { if (env_var != 0) { getPathList(env_var,Paths); } -#ifdef LLVMGCCDIR - { - Path tmpPath(std::string(LLVMGCCDIR) + "lib/"); - if (tmpPath.readable()) - Paths.push_back(tmpPath); - } -#endif #ifdef LLVM_LIBDIR { Path tmpPath;