From 24ac21f937517d7e1e3190c419541c11cba1962c Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 15 Dec 2004 22:22:51 +0000 Subject: [PATCH] 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 --- lib/System/Win32/Path.cpp | 7 ------- lib/System/Win32/Path.inc | 7 ------- 2 files changed, 14 deletions(-) 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; -- 2.34.1