diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-04 06:31:04 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-04 06:31:04 +0000 |
| commit | e9d794e7b57a89d5409af18c27d44748caef6350 (patch) | |
| tree | aa5537f0b354d15d4c7c6b1d83f26eb65e825ab8 /llvm/lib/Bytecode/Archive/Archive.cpp | |
| parent | 4ef4c46c352e080ca453b1ac98998c45f9549416 (diff) | |
| download | bcm5719-llvm-e9d794e7b57a89d5409af18c27d44748caef6350.tar.gz bcm5719-llvm-e9d794e7b57a89d5409af18c27d44748caef6350.zip | |
For PR1302:
Adjust useage of sys::Path::FileType for new enumerator names.
llvm-svn: 35651
Diffstat (limited to 'llvm/lib/Bytecode/Archive/Archive.cpp')
| -rw-r--r-- | llvm/lib/Bytecode/Archive/Archive.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Archive/Archive.cpp b/llvm/lib/Bytecode/Archive/Archive.cpp index f9fa80748bc..d594a8715f7 100644 --- a/llvm/lib/Bytecode/Archive/Archive.cpp +++ b/llvm/lib/Bytecode/Archive/Archive.cpp @@ -125,10 +125,10 @@ bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) { // Determine what kind of file it is switch (sys::IdentifyFileType(signature,4)) { - case sys::BytecodeFileType: + case sys::Bytecode_FileType: flags |= BytecodeFlag; break; - case sys::CompressedBytecodeFileType: + case sys::CompressedBytecode_FileType: flags |= CompressedBytecodeFlag; flags &= ~CompressedFlag; break; |

