Changes in directory llvm/lib/System/Win32:
Path.inc updated: 1.65 -> 1.66 --- Log message: pull some win32 code into common code, add bitcode identification support. --- Diffs of the changes: (+0 -15) Path.inc | 15 --------------- 1 files changed, 15 deletions(-) Index: llvm/lib/System/Win32/Path.inc diff -u llvm/lib/System/Win32/Path.inc:1.65 llvm/lib/System/Win32/Path.inc:1.66 --- llvm/lib/System/Win32/Path.inc:1.65 Sat Apr 7 15:47:27 2007 +++ llvm/lib/System/Win32/Path.inc Sun May 6 00:32:21 2007 @@ -247,21 +247,6 @@ return path.substr(slash, dot - slash); } -bool Path::hasMagicNumber(const std::string &Magic) const { - std::string actualMagic; - if (getMagicNumber(actualMagic, Magic.size())) - return Magic == actualMagic; - return false; -} - -bool -Path::isBytecodeFile() const { - std::string actualMagic; - if (!getMagicNumber(actualMagic, 4)) - return false; - return actualMagic == "llvc" || actualMagic == "llvm"; -} - bool Path::exists() const { DWORD attr = GetFileAttributes(path.c_str()); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits